mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
[1.7.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
Backport of fb7c347f7b
from master
This commit is contained in:
parent
4b6ba2c1d1
commit
2a2d7db01f
2 changed files with 9 additions and 1 deletions
|
@ -75,6 +75,7 @@ details on how ``staticfiles`` finds your files.
|
|||
by putting those static files inside *another* directory named for the
|
||||
application itself.
|
||||
|
||||
.. _serving-static-files-in-development:
|
||||
|
||||
Serving static files during development.
|
||||
========================================
|
||||
|
@ -108,6 +109,8 @@ this by adding the following snippet to your urls.py::
|
|||
folder; it doesn't perform static files discovery like
|
||||
:mod:`django.contrib.staticfiles`.
|
||||
|
||||
.. _serving-uploaded-files-in-development:
|
||||
|
||||
Serving files uploaded by a user during development.
|
||||
====================================================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue