1
0
mirror of https://github.com/django/django.git synced 2025-01-23 08:39:17 +00:00

Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.

Thanks Rolandde for the report.
This commit is contained in:
Tim Graham 2014-10-06 17:44:58 -04:00
parent 9dff5ce7c7
commit 87eedfff44

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'``.