Django-staticfiles

Latest version: v1.2.1

Safety actively analyzes 623412 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.3

-------------------

* Moved CI tests to Travis: http://travis-ci.org/jezdez/django-staticfiles

1.2.1

-------------------

* Backported a change from Django trunk that prevents openening too
many files at once when running the ``collectstatic`` management
command.

1.2

-----------------

* Added ``STATICFILES_IGNORE_PATTERNS`` setting to globally ignore
files when running the ``collectstatic`` management command.

* Refactored ``CachedFilesMixin`` and management command to only
post process the collected files if really needed.

* Added support for URL fragment to the ``CachedStaticFilesStorage``.

* Stopped using versiontools_ again as it caused installation time issues.

1.1.2

-------------------

* Fixed a minor bug in how `django-appconf`_ was used.

1.1.1

-------------------

* Fixed resolution of relative paths in ``CachedStaticFilesStorage``.

* Started to use `django-appconf`_ and versiontools_.

.. _`django-appconf`: http://django-appconf.rtfd.org/
.. _versiontools: http://pypi.python.org/pypi/versiontools

1.1

-----------------

* Pulled all changes from upstream Django:

* ``static`` template tag to refer to files saved with the
``STATICFILES_STORAGE`` storage backend. It’ll use the storage ``url``
method and therefore supports advanced features such as serving files
from a cloud service.

* ``CachedStaticFilesStorage`` which caches the files it saves (when
running the ``collectstatic`` management command) by appending the MD5
hash of the file's content to the filename. For example, the file
``css/styles.css`` would also be saved as ``css/styles.55e7cbb9ba48.css``

* Added a ``staticfiles.storage.staticfiles_storage`` instance of the
configured ``STATICFILES_STORAGE``.

* ``--clear`` option for the management command which clears the
target directory (by default ``STATIC_ROOT``) before collecting

* Stop trying to show directory indexes in the included ``serve`` view.

* Correctly pass kwargs to the URL patterns when using the static URL
patterns helper.

* Use sys.stdout in management command, not self.stdout which was only
introduced in a later Django version.

* Refactored AppSettings helper class to be only a proxy for Django's
settings object instead of a singleton on its own.

* Updated list of supported Django versions: 1.2.X, 1.3.X and 1.4.X

* Updated list of supported Python versions: 2.5.X, 2.6.X and 2.7.X

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.