mirror of https://github.com/django/django.git
Documented that the development server does not, by default handle static
files. Included a pointer to the relevant document for changing that. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
21dd8e272b
commit
8632f8ac4a
|
@ -177,6 +177,17 @@ Port 7000 on IP address 1.2.3.4::
|
||||||
|
|
||||||
django-admin.py runserver 1.2.3.4:7000
|
django-admin.py runserver 1.2.3.4:7000
|
||||||
|
|
||||||
|
Serving static files with the development server:
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
By default, the development server will not be able to serve any static files
|
||||||
|
for your site (such as CSS files, images, things under MEDIA_ROOT_URL and so
|
||||||
|
forth). If you wish to configure your project to handle static media via the
|
||||||
|
development server, read the instructions in the `serving static files`_
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
.. _serving static files: http://www.djangoproject.com/documentation/static_files/
|
||||||
|
|
||||||
shell
|
shell
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue