Add pytask as prefix to admin media and move SITE_ID to local settings
authorMadhusudan.C.S <madhusudancs@gmail.com>
Sat, 15 Jan 2011 00:37:46 +0530
changeset 402 b8ca16f03916
parent 401 bb034741c351
child 403 61292fa7f61a
Add pytask as prefix to admin media and move SITE_ID to local settings
pytask/settings.py
--- a/pytask/settings.py	Fri Jan 14 05:29:44 2011 +0530
+++ b/pytask/settings.py	Sat Jan 15 00:37:46 2011 +0530
@@ -24,8 +24,6 @@
 # http://www.i18nguy.com/unicode/language-identifiers.html
 LANGUAGE_CODE = 'en-us'
 
-SITE_ID = 1
-
 # If you set this to False, Django will make some optimizations so as not
 # to load the internationalization machinery.
 USE_I18N = True
@@ -56,7 +54,7 @@
 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
 # trailing slash.
 # Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = '/admin/media/'
+ADMIN_MEDIA_PREFIX = '/pytask/admin/media/'
 
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = '^ww=xk&idt)=03kqg*fz8x%=dqbhh1kd2z=f%$m@r9_+9b=&x='