django/docs/howto
Jannis Leidel 33d8fcde8a Fixed #14693, #14709 -- Backwards incompatible change to rectify the confusion around the STATICFILES_URL and STATICFILES_ROOT settings.
* Two new global settings that will be used by -- **but are not limited to** -- the staticfiles app: STATIC_ROOT and STATIC_URL.

  * Moving the 'django.contrib.staticfiles.templatetags.staticfiles' template tag to the core ('django.templatetags.static') and renaming it to 'get_static_prefix'.

  * Moving the context processor 'django.contrib.staticfiles.context_processors.staticfiles' to the core ('django.core.context_processors.static') and renaming it to 'static'.

  * Paths in media definitions will use STATIC_URL as the prefix if the value is not None, and falls back to the previously used MEDIA_URL.

Thanks again to the community for constructive criticism and Carl and Russ for sanity-inducing discussions on IRC.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 15:36:26 +00:00
..
deployment Documented options accepted by the runfcgi management command. 2010-10-27 15:35:07 +00:00
apache-auth.txt
auth-remote-user.txt Fixed #14551 -- corrected a type in the remote user auth documentation. Thanks to mag for the report and fix. 2010-10-24 17:29:24 +00:00
custom-file-storage.txt
custom-management-commands.txt
custom-model-fields.txt Fixed #12975 -- Moved the docs for contrib.admindocs out of the template docs and into their own reference section, and significantly improved the documentation of what admindocs can do. Thanks to jabapyth for the report, and whiteinge for the patch. 2010-11-07 09:21:55 +00:00
custom-template-tags.txt Fixed #10545 -- Mentioned that template context variables are scoped to the block in which they're assigned. Thanks to yaniv.haber for the report and timo for the patch. 2010-10-25 20:50:53 +00:00
error-reporting.txt Added info about using logging to the 'Error reporting' howto. 2010-11-16 14:00:38 +00:00
i18n.txt
index.txt
initial-data.txt
jython.txt
legacy-databases.txt
outputting-csv.txt
outputting-pdf.txt
static-files.txt Fixed #14693, #14709 -- Backwards incompatible change to rectify the confusion around the STATICFILES_URL and STATICFILES_ROOT settings. 2010-11-17 15:36:26 +00:00