Skip to content

Commit

Permalink
Updating text files for version 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
versae committed May 20, 2011
1 parent 080295c commit 0bb0267
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 6 deletions.
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ APPRECIATED CONTRIBUTORS:
* Lorenzo Gil <lorenzo.gil.sanchez@gmail.com>, adding the setuptools support: https://github.com/versae/qbe/pull/1
* Patrick Taylor <patricktaylor@mac.com> for reporting problems with the license.
* Sebastián Magrí <sebasmagri@gmail.com> for reporting bugs.
* Fidel Ramos <fidelramos@gmail.com> for compatibility code with Django 1.3 static files: https://github.com/versae/qbe/pull/11

And a big THANK YOU goes to:

Expand Down
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
------------------
- Fixed the Python package for installation with pip or easy_install (thanks
to https://github.com/sebasmagri).
- Added compatibility with Django 1.3 static files.

0.1.4 (2011-03-16)
------------------
Expand Down
22 changes: 19 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,25 @@ If you are using Django 1.2 or any previous version you must link or copy the

$ ln -s django_qbe/static/django_qbe /path/to/your/project/media/

If you're using Django 1.3 or later the static files will be found and served
automatically, you don't need to do anything. See the `Django documentation on
static files`__ for details.
And enable the context processor *django.core.context_processors.media*::

TEMPLATE_CONTEXT_PROCESSORS = (
# [...] django context processors
'django.core.context_processors.media',
# [...] Any other context processors
)

But if you're using Django 1.3 or later the static files will be found and served
automatically, you don't need to do anything except adding the context processor
*django.core.context_processors.static*::

TEMPLATE_CONTEXT_PROCESSORS = (
# [...] django context processors
'django.core.context_processors.static',
# [...] Any other context processors
)

See the `Django documentation on static files`__ for details.

__ staticfiles_

Expand Down
22 changes: 19 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,25 @@ If you are using Django 1.2 or any previous version you must link or copy the

$ ln -s django_qbe/static/django_qbe /path/to/your/project/media/

If you're using Django 1.3 or later the static files will be found and served
automatically, you don't need to do anything. See the `Django documentation on
static files`__ for details.
And enable the context processor *django.core.context_processors.media*::

TEMPLATE_CONTEXT_PROCESSORS = (
# [...] django context processors
'django.core.context_processors.media',
# [...] Any other context processors
)

But if you're using Django 1.3 or later the static files will be found and served
automatically, you don't need to do anything except adding the context processor
*django.core.context_processors.static*::

TEMPLATE_CONTEXT_PROCESSORS = (
# [...] django context processors
'django.core.context_processors.static',
# [...] Any other context processors
)

See the `Django documentation on static files`__ for details.

__ staticfiles_

Expand Down

0 comments on commit 0bb0267

Please sign in to comment.