1
0
mirror of https://github.com/django/django.git synced 2025-03-14 03:10:45 +00:00

[1.7.x] Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.

Thanks Rolandde for the report.

Backport of 87eedfff44 from master
This commit is contained in:
Tim Graham 2014-10-06 17:44:58 -04:00
parent 96f022203a
commit dbd52f339c

View File

@ -73,7 +73,7 @@ respectively. For example::
def __init__(self, *args, **kwargs):
kwargs['file_permissions_mode'] = 0o640
kwargs['directory_permissions_mode'] = 0o760
super(CustomStaticFilesStorage, self).__init__(*args, **kwargs)
super(MyStaticFilesStorage, self).__init__(*args, **kwargs)
Then set the :setting:`STATICFILES_STORAGE` setting to
``'path.to.MyStaticFilesStorage'``.