From 5cb99adccaa84ac24b67ea1e79d56db31a92f844 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Fri, 5 Jul 2013 11:09:27 +0100 Subject: [PATCH 1/1] New admin url syntax --- eatslugs/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eatslugs/urls.py b/eatslugs/urls.py index 8597968..cd08419 100644 --- a/eatslugs/urls.py +++ b/eatslugs/urls.py @@ -12,5 +12,5 @@ urlpatterns = patterns('', # (r'^recipes/', include('recipes.urls')), (r'^$', direct_to_template, {"template": 'main_index.html'},), (r'^media/(?P.*)$', serve, {'document_root': settings.MEDIA_ROOT, 'show_indexes': False}), - (r'^admin/(.*)', admin.site.root), + (r'^admin/', include(admin.site.urls)), ) -- 2.39.5