Updated docs a bit for latest changes.
This commit is contained in:
@@ -4,6 +4,13 @@ Changelog
|
||||
v1.1
|
||||
----
|
||||
|
||||
- Made offline compression completely independent from cache (by writing a
|
||||
manifest.json file).
|
||||
|
||||
You can now easily run the :ref:`compress <pre-compression>` management
|
||||
command locally and transfer the :ref:`COMPRESS_ROOT <compress_root>` dir
|
||||
to your server.
|
||||
|
||||
- Updated installation instructions to properly mention all dependencies,
|
||||
even those internally used.
|
||||
|
||||
@@ -18,7 +25,7 @@ v1.1
|
||||
|
||||
- Stopped the compress management command to require model validation.
|
||||
|
||||
- Added a missing imports.
|
||||
- Added missing imports and fixed a few :pep:`8` issues.
|
||||
|
||||
.. _Jinja2: http://jinja.pocoo.org/2/
|
||||
|
||||
|
@@ -101,7 +101,6 @@ access it in the `post_compress signal <signals>`.
|
||||
.. _caching documentation: http://docs.djangoproject.com/en/1.2/topics/cache/#memcached
|
||||
|
||||
.. _pre-compression:
|
||||
.. _signals:
|
||||
|
||||
Pre-compression
|
||||
---------------
|
||||
@@ -146,13 +145,15 @@ If not specified, the ``COMPRESS_OFFLINE_CONTEXT`` will by default contain
|
||||
the commonly used setting to refer to saved files ``MEDIA_URL`` and
|
||||
``STATIC_URL`` (if specified in the settings).
|
||||
|
||||
The result of running the ``compress`` management command will be saved
|
||||
in the cache defined in :ref:`COMPRESS_CACHE_BACKEND <compress_cache_backend>`
|
||||
for the number of seconds defined in the
|
||||
:ref:`COMPRESS_OFFLINE_TIMEOUT <compress_offline_timeout>` setting.
|
||||
The result of running the ``compress`` management command will be cached
|
||||
in a file called ``manifest.json`` using the :ref:`configured storage
|
||||
<compress_storage>` to be able to be transfered from your developement
|
||||
computer to the server easily.
|
||||
|
||||
.. _TEMPLATE_LOADERS: http://docs.djangoproject.com/en/dev/ref/settings/#template-loaders
|
||||
|
||||
.. _signals:
|
||||
|
||||
Signals
|
||||
-------
|
||||
|
||||
|
Reference in New Issue
Block a user