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
..
2010-09-11 03:01:07 +00:00
2010-09-27 15:11:03 +00:00
2010-09-27 15:11:29 +00:00
2010-09-27 15:11:55 +00:00
2010-10-11 12:55:17 +00:00
2010-11-09 16:46:42 +00:00
2010-09-27 15:12:22 +00:00
2010-10-11 12:55:17 +00:00
2010-10-15 02:35:51 +00:00
2010-11-17 02:57:14 +00:00
2010-11-02 05:27:24 +00:00
2010-10-23 00:01:22 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-11-11 15:06:20 +00:00
2010-11-13 18:42:56 +00:00
2010-11-11 15:06:20 +00:00
2010-11-11 15:06:20 +00:00
2010-10-09 08:12:50 +00:00
2010-09-26 09:55:41 +00:00
2010-11-12 18:39:30 +00:00
2010-11-04 16:03:05 +00:00
2010-10-21 14:56:49 +00:00
2010-09-28 08:19:04 +00:00
2010-10-12 03:33:19 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-09-28 13:42:09 +00:00
2010-11-11 23:03:53 +00:00
2010-10-11 12:55:17 +00:00
2010-11-12 19:26:57 +00:00
2010-11-17 15:36:26 +00:00
2010-11-13 18:42:31 +00:00
2010-10-28 02:58:28 +00:00
2010-10-12 01:54:19 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-11-04 14:06:24 +00:00
2010-10-12 01:59:28 +00:00
2010-10-14 01:40:20 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-10-14 01:10:57 +00:00
2010-06-23 20:03:41 +00:00
2010-10-14 18:37:05 +00:00
2010-10-14 01:17:14 +00:00
2010-10-14 01:24:34 +00:00
2010-10-11 12:55:17 +00:00
2010-03-07 20:11:00 +00:00
2010-11-07 16:02:22 +00:00
2010-10-11 12:55:17 +00:00
2010-10-13 04:46:33 +00:00
2010-10-13 04:46:33 +00:00
2010-11-17 12:09:21 +00:00
2010-10-12 02:09:13 +00:00
2010-10-11 12:55:17 +00:00
2010-11-02 05:09:16 +00:00
2010-11-16 22:09:13 +00:00
2010-09-28 08:17:36 +00:00
2010-09-28 08:17:12 +00:00
2010-09-28 08:16:47 +00:00
2010-09-28 08:16:23 +00:00
2010-10-11 12:55:17 +00:00
2010-11-16 02:33:51 +00:00
2010-04-21 18:07:23 +00:00
2010-11-07 15:41:17 +00:00
2010-09-28 07:06:15 +00:00
2010-10-12 03:33:19 +00:00
2010-09-28 07:05:51 +00:00
2010-10-11 12:55:17 +00:00
2010-10-20 01:33:24 +00:00
2010-10-11 12:55:17 +00:00
2010-09-27 15:18:03 +00:00
2010-10-18 04:56:27 +00:00
2010-10-18 23:58:06 +00:00
2010-11-17 15:36:26 +00:00
2010-09-27 15:17:36 +00:00
2010-11-11 15:06:20 +00:00
2010-11-17 15:36:26 +00:00
2010-10-11 12:55:17 +00:00
2010-10-11 12:55:17 +00:00
2010-11-11 15:06:20 +00:00
2010-09-27 15:17:08 +00:00
2010-10-11 12:55:17 +00:00
2010-11-02 05:31:19 +00:00
2010-11-04 10:48:27 +00:00