mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Fixed some markup that caused broken links in the static files docs.
This commit is contained in:
parent
c3fdeb28ff
commit
03395b4277
@ -215,7 +215,7 @@ storage backend that uses the :setting:`STATIC_ROOT` setting as the base
|
|||||||
file system location and the :setting:`STATIC_URL` setting respectively
|
file system location and the :setting:`STATIC_URL` setting respectively
|
||||||
as the base URL.
|
as the base URL.
|
||||||
|
|
||||||
.. method:: post_process(paths, **options)
|
.. method:: storage.StaticFilesStorage.post_process(paths, **options)
|
||||||
|
|
||||||
This method is called by the :djadmin:`collectstatic` management command
|
This method is called by the :djadmin:`collectstatic` management command
|
||||||
after each run and gets passed the local storages and paths of found
|
after each run and gets passed the local storages and paths of found
|
||||||
@ -282,7 +282,7 @@ hashed names for all processed files in a file called ``staticfiles.json``.
|
|||||||
This happens once when you run the :djadmin:`collectstatic` management
|
This happens once when you run the :djadmin:`collectstatic` management
|
||||||
command.
|
command.
|
||||||
|
|
||||||
.. method:: file_hash(name, content=None)
|
.. method:: storage.ManifestStaticFilesStorage.file_hash(name, content=None)
|
||||||
|
|
||||||
The method that is used when creating the hashed name of a file.
|
The method that is used when creating the hashed name of a file.
|
||||||
Needs to return a hash for the given file name and content.
|
Needs to return a hash for the given file name and content.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user