Improve docs about handling static files without django.contrib.staticfiles.
|Reported by:||loic84||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Following discussion on IRC with @apollo13 and @ubernostrum.
django.contrib.staticfiles is optional, we should document how to serve
STATIC_URL without it during development; the docs for serving
MEDIA_URL [ 1 ] may be used as a template.
Some parts of the docs need to be reviewed; for example "Note that the Django development server automatically serves the static files of the admin app (and any other installed apps)" [ 2 ] is actually only true if
django.contrib.staticfiles is installed.
It might be helpful to warn that
STATIC_URL must have different values, the same applies to
STATIC_ROOT. This is mostly an issue because historically (pre-contrib.staticfiles) a lot of projects were using
MEDIA_URL to serve static files.