mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Fixed #20634 - Corrected doc mistake re: staticfiles finders strategy.
Thanks claudep for the catch and bmispelon for the research.
This commit is contained in:
parent
ba610cb319
commit
9be93aa809
2 changed files with 4 additions and 2 deletions
|
@ -68,7 +68,7 @@ details on how ``staticfiles`` finds your files.
|
|||
Now we *might* be able to get away with putting our static files directly
|
||||
in ``my_app/static/`` (rather than creating another ``my_app``
|
||||
subdirectory), but it would actually be a bad idea. Django will use the
|
||||
last static file it finds whose name matches, and if you had a static file
|
||||
first static file it finds whose name matches, and if you had a static file
|
||||
with the same name in a *different* application, Django would be unable to
|
||||
distinguish between them. We need to be able to point Django at the right
|
||||
one, and the easiest way to ensure this is by *namespacing* them. That is,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue