django1/django/contrib/admin
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
..
media Fixed #14193: prepopulated_fields javascript now concatenates in correct order. Thanks to bmihelac for the patch. 2010-10-10 09:57:23 +00:00
templates Fixed #14193: prepopulated_fields javascript now concatenates in correct order. Thanks to bmihelac for the patch. 2010-10-10 09:57:23 +00:00
templatetags 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
views Fixed #14425 -- Unused imports in contrib.admin. Thanks robhudson. 2010-10-12 01:03:53 +00:00
__init__.py Revert the removal of an unused import (in [14175]) that was referenced in documentation. Thanks for noticing, clong. 2010-10-27 07:08:15 +00:00
actions.py Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
filterspecs.py Fixed #9969: choices with options groups (added in [7977]) now work correctly in the admin with list_display and list_filter. Thanks, ramiro. 2009-04-01 14:14:20 +00:00
helpers.py Fixed #14425 -- Unused imports in contrib.admin. Thanks robhudson. 2010-10-12 01:03:53 +00:00
models.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
options.py Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
sites.py Remove several uses of the deprecated dict.has_key in favor of the in operator. This is faster, has less code, and is in every single way better. 2010-10-29 04:24:53 +00:00
util.py Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
validation.py Fixed #14425 -- Unused imports in contrib.admin. Thanks robhudson. 2010-10-12 01:03:53 +00:00
widgets.py Remove several uses of the deprecated dict.has_key in favor of the in operator. This is faster, has less code, and is in every single way better. 2010-10-29 04:24:53 +00:00