From 69dd36bdb5dbc67c291f21b9217fa8a9fc2ae0b0 Mon Sep 17 00:00:00 2001 From: goatchurch Date: Sat, 29 Aug 2009 17:30:07 +0100 Subject: [PATCH] enable admin url --- urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urls.py b/urls.py index e20aacd..902f8bc 100644 --- a/urls.py +++ b/urls.py @@ -9,6 +9,7 @@ from core.models import * from django.views.generic.create_update import create_object from django.contrib import admin from django.views.generic.list_detail import object_list +from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', @@ -67,7 +68,7 @@ urlpatterns = patterns('', url(r'^eyecandy$', views_other.eyecandy), (r'^admin/doc/?', include('django.contrib.admindocs.urls')), - #(r'^admin/', include(admin.site.urls)), + url(r'^admin/(.*)', admin.site.root, name="admin"), (r'^accounts/', include('registration.urls')), (r'^profiles/', include('profiles.urls')),