django1/django/contrib
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
..
admin 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
admindocs Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
auth Fixed #14508 - test suite silences warnings. 2010-11-11 15:06:20 +00:00
comments Fixed #12325 -- Allows zero values for moderate_after and close_after fields of comment moderators. Thanks, Gabriel Hurley. 2010-11-13 18:42:56 +00:00
contenttypes Fixed #14670 -- Made GenericTabularInline aware of changes made in r13708. Thanks, gregmuellegger. 2010-11-13 18:42:31 +00:00
csrf Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code. 2010-10-11 12:20:07 +00:00
databrowse Fixed #12650 -- Don't generate invalid XHTML in the admin, databrowse apps when 2010-10-10 01:57:56 +00:00
flatpages Don't mark a TemplateSyntaxError in flatpages as being translatable. 2010-10-10 17:54:20 +00:00
formtools Fixed #14576 - FormWizard.done() method doesn't get passed the last form in the list 2010-11-16 14:37:00 +00:00
gis Fixed #14653 -- Removed vestigal `getstatusoutput` from GeoDjango utils. 2010-11-09 17:39:01 +00:00
humanize Fixed #11783 -- ordinal template tag now catches TypeError. Thanks, realpolitik and punteney 2010-01-10 21:37:20 +00:00
localflavor Fixed #14455 -- Documented the backwards compatibility policy for local flavors. Implemented the policy for the changes in the Indonesian local flavor (from r14195) that stimulated the development of this policy. Thanks to Karen, Alex, Ramiro and Chris for their help developing the policy. 2010-11-01 00:52:58 +00:00
markup Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
messages Fixed #14632 -- Skip a messages test if auth app is not in INSTALLED_APPS. Thanks, gregmuellegger. 2010-11-13 18:43:13 +00:00
redirects Cleaned up a bunch of minor doc stuff: 2008-09-02 16:42:13 +00:00
sessions Fixed potential circular import problem. 2010-11-14 23:35:16 +00:00
sitemaps Fixed #14447 -- Modified the auth and sitemaps tests to remove some assumptions about the environment in which the tests are run. Thanks to Gabriel Hurley for the report and patch. 2010-10-12 07:15:47 +00:00
sites Fixed #13790 -- auto detection of m2m fields to Site. Thanks, gabrielhurley! 2010-10-18 04:56:27 +00:00
staticfiles 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
syndication Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code. 2010-10-11 12:20:07 +00:00
webdesign Converted contrib/webdesign doctests to unittests. We thoroughly deplore those doctests. 2010-10-10 01:06:56 +00:00
__init__.py Created django.contrib and moved comments into it 2005-07-14 18:20:03 +00:00