diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-08-21 16:11:20 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-08-21 16:17:11 +0800 |
commit | ac876f29bdead6fc9e649bb35d7a7a1dd314a182 (patch) | |
tree | 8d16a2f969ba35039f11a7ce732f46b9638b0b9a /apps/urls.py | |
parent | b380ba16729575348579f1d62ca066dd4ed1b73c (diff) | |
download | patchwork-ac876f29bdead6fc9e649bb35d7a7a1dd314a182.tar.bz2 patchwork-ac876f29bdead6fc9e649bb35d7a7a1dd314a182.tar.xz |
Use new django admin infrastructure
Also, we don't need to expose every object.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/urls.py')
-rw-r--r-- | apps/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/urls.py b/apps/urls.py index e11cbd9..ac22547 100644 --- a/apps/urls.py +++ b/apps/urls.py @@ -18,13 +18,14 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from django.conf.urls.defaults import * +from patchwork.admin import admin_site urlpatterns = patterns('', # Example: (r'^', include('patchwork.urls')), # Uncomment this for admin: - (r'^admin/', include('django.contrib.admin.urls')), + (r'^admin/(.*)', admin_site.root), (r'^css/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/home/jk/devel/patchwork/pwsite/htdocs/css'}), |