django1/django/contrib/staticfiles
Loic Bistuer 1e9e7351f8 Fixed #21750 -- Fixed regression introduced by 4befb30.
Validating STATIC_ROOT in StaticFilesStorage.__init__ turned out to be
problematic - especially with tests - because the storage refuses to work even
if there are no actual interactions with the file system, which is backward
incompatible.

Originally the validation happened in the StaticFilesStorage.path method, but
that didn't work as expected because the call to FileSystemStorage.__init__
replaced the empty value by a valid path. The new approach is to move back the
check to the StaticFilesStorage.path method, but ensure that the location
attribute remains None after the call to super.

Refs #21581.
2014-01-11 08:20:28 -05:00
..
locale/en/LC_MESSAGES Added catalogs for apps that didn't have any translations. 2014-01-05 21:18:33 +01:00
management Fixed #21581 -- Fixed a number of issues with collectstatic. 2013-12-31 14:58:49 -05:00
templatetags Fixed #19850 -- Use configured staticfiles storage to find the URL of a static file in the admin. 2013-02-23 14:36:51 +01:00
__init__.py Fixed #12323 and #11582 -- Extended the ability to handle static files. Thanks to all for helping with the original app, the patch, documentation and general support. 2010-10-20 01:33:24 +00:00
apps.py Fixed #21675 -- Added app configs for contrib apps. 2014-01-05 21:18:33 +01:00
finders.py Fixed #21750 -- Fixed regression introduced by 4befb30. 2014-01-11 08:20:28 -05:00
handlers.py Fixed #21543 -- Removed base_dir attribute in StaticFilesHandler. 2013-12-01 18:03:59 -05:00
storage.py Fixed #21750 -- Fixed regression introduced by 4befb30. 2014-01-11 08:20:28 -05:00
testing.py Made django.test.testcases not depend on staticfiles contrib app. 2013-08-31 11:02:32 -03:00
urls.py Continue to attack E302 violations 2013-11-02 10:18:46 -07:00
utils.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
views.py More attacking E302 violators 2013-11-02 13:12:09 -07:00