summaryrefslogtreecommitdiff
path: root/django/conf/project_template
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-06-30 09:06:19 +0000
committerJannis Leidel <jannis@leidel.info>2011-06-30 09:06:19 +0000
commit38a2444277a84eb6b74425f0e324d1dceb7d2ef1 (patch)
tree1bfffc0cc808a57c1250c6e7e2986f8ba721fd9c /django/conf/project_template
parent89e0e8b6bc861bb95e55bd5e255e756fe3be1cf2 (diff)
Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the admin to conventional file system location.
This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'. Thanks to Jacob for the review and general help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/conf/project_template')
-rw-r--r--django/conf/project_template/settings.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/django/conf/project_template/settings.py b/django/conf/project_template/settings.py
index 794522b202..3a2243fbc6 100644
--- a/django/conf/project_template/settings.py
+++ b/django/conf/project_template/settings.py
@@ -62,11 +62,6 @@ STATIC_ROOT = ''
# Example: "http://media.lawrence.com/static/"
STATIC_URL = '/static/'
-# URL prefix for admin static files -- CSS, JavaScript and images.
-# Make sure to use a trailing slash.
-# Examples: "http://foo.com/static/admin/", "/static/admin/".
-ADMIN_MEDIA_PREFIX = '/static/admin/'
-
# Additional locations of static files
STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".