|
@@ -77,8 +77,8 @@ details on how ``staticfiles`` finds your files.
|
|
|
|
|
|
.. _serving-static-files-in-development:
|
|
|
|
|
|
-Serving static files during development.
|
|
|
-========================================
|
|
|
+Serving static files during development
|
|
|
+=======================================
|
|
|
|
|
|
If you use :mod:`django.contrib.staticfiles` as explained above,
|
|
|
:djadmin:`runserver` will do this automatically when :setting:`DEBUG` is set
|
|
@@ -111,8 +111,8 @@ this by adding the following snippet to your urls.py::
|
|
|
|
|
|
.. _serving-uploaded-files-in-development:
|
|
|
|
|
|
-Serving files uploaded by a user during development.
|
|
|
-====================================================
|
|
|
+Serving files uploaded by a user during development
|
|
|
+===================================================
|
|
|
|
|
|
During development, you can serve user-uploaded media files from
|
|
|
:setting:`MEDIA_ROOT` using the :func:`django.contrib.staticfiles.views.serve`
|