Make the admin UI work again now that I'm running django 1.4
This commit is contained in:
parent
4565e93d93
commit
60c6a9ee83
|
@ -53,10 +53,7 @@ MEDIA_ROOT = os.path.join(SITE_ROOT, "files")
|
||||||
# Examples: "http://media.lawrence.com", "http://example.com/media/"
|
# Examples: "http://media.lawrence.com", "http://example.com/media/"
|
||||||
MEDIA_URL = "/files/"
|
MEDIA_URL = "/files/"
|
||||||
|
|
||||||
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
|
STATIC_URL = '/media/'
|
||||||
# trailing slash.
|
|
||||||
# Examples: "http://foo.com/media/", "/media/".
|
|
||||||
ADMIN_MEDIA_PREFIX = '/media/'
|
|
||||||
|
|
||||||
# Make this unique, and don't share it with anybody.
|
# Make this unique, and don't share it with anybody.
|
||||||
SECRET_KEY = 'iuo-zka8nnv0o+b*7#_*fcep$@f^35=)c#7_20z6i8g0oc&r!g'
|
SECRET_KEY = 'iuo-zka8nnv0o+b*7#_*fcep$@f^35=)c#7_20z6i8g0oc&r!g'
|
||||||
|
@ -88,5 +85,6 @@ INSTALLED_APPS = (
|
||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
|
'django.contrib.staticfiles',
|
||||||
'bcommon',
|
'bcommon',
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ from django.contrib import admin
|
||||||
admin.autodiscover()
|
admin.autodiscover()
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include(admin.site.urls)),
|
||||||
url(r'^$', 'bcommon.views.home_index', name="index"),
|
url(r'^$', 'bcommon.views.home_index', name="index"),
|
||||||
url(r'^server_list/$', 'bcommon.views.view_server_list', name="server_list"),
|
url(r'^server_list/$', 'bcommon.views.view_server_list', name="server_list"),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue