From e1e3f512917a8aa0f0fa2fed5314a4bec99f0df0 Mon Sep 17 00:00:00 2001 From: Andrew Ingram Date: Sat, 18 May 2013 12:24:17 +0200 Subject: [PATCH] Root URL access djadmin2 index --- example/example/settings.py | 1 + example/example/urls.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/example/settings.py b/example/example/settings.py index 582b492..70ed510 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -119,6 +119,7 @@ INSTALLED_APPS = ( # 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', + 'djadmin2', 'blog', ) diff --git a/example/example/urls.py b/example/example/urls.py index 4cad48f..741ebc2 100644 --- a/example/example/urls.py +++ b/example/example/urls.py @@ -6,7 +6,7 @@ from django.conf.urls import patterns, include, url urlpatterns = patterns('', # Examples: - # url(r'^$', 'example.views.home', name='home'), + url(r'^$', include('djadmin2.urls')), # url(r'^example/', include('example.foo.urls')), # Uncomment the admin/doc line below to enable admin documentation: