51222b465056

Mobileadmin install instructions = slight fail.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 19 Jan 2009 07:36:05 -0500
parents 22afaf43eb5e
children f1d2ffc7e123
branches/tags (none)
files settings.py

Changes

--- a/settings.py	Mon Jan 19 07:21:38 2009 -0500
+++ b/settings.py	Mon Jan 19 07:36:05 2009 -0500
@@ -1,5 +1,7 @@
+from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS
 import deploy
 
+
 DEBUG = deploy.DEBUG
 TEMPLATE_DEBUG = DEBUG
 
@@ -49,6 +51,7 @@
 # trailing slash.
 # Examples: "http://foo.com/media/", "/media/".
 ADMIN_MEDIA_PREFIX = '/media/'
+MOBILEADMIN_MEDIA_PREFIX = '/media-mobile/'
 
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = deploy.SECRET_KEY
@@ -72,7 +75,7 @@
     BASE_DIR + 'templates/',
 )
 
-TEMPLATE_CONTEXT_PROCESSORS = ( 
+TEMPLATE_CONTEXT_PROCESSORS += ( 
     'mobileadmin.context_processors.user_agent', 
 )