Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
Thanks Rolandde for the report.
This commit is contained in:
parent
9dff5ce7c7
commit
87eedfff44
|
@ -73,7 +73,7 @@ respectively. For example::
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
kwargs['file_permissions_mode'] = 0o640
|
kwargs['file_permissions_mode'] = 0o640
|
||||||
kwargs['directory_permissions_mode'] = 0o760
|
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
|
Then set the :setting:`STATICFILES_STORAGE` setting to
|
||||||
``'path.to.MyStaticFilesStorage'``.
|
``'path.to.MyStaticFilesStorage'``.
|
||||||
|
|
Loading…
Reference in New Issue