From d47db625efaca5c6828d93c5babb0adede11c215 Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Mon, 4 Aug 2008 21:19:51 +0000 Subject: [PATCH] Corrigo urls.py para funcionar com Django 1.0. --- sigi/urls.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sigi/urls.py b/sigi/urls.py index b36ff23..f2aafb5 100644 --- a/sigi/urls.py +++ b/sigi/urls.py @@ -1,9 +1,8 @@ from django.conf.urls.defaults import * +from django.contrib import admin -urlpatterns = patterns('', - # Example: - # (r'^sigi/', include('sigi.casas.urls')), +admin.autodiscover() - # Uncomment this for admin: - (r'^admin/', include('django.contrib.admin.urls')), +urlpatterns = patterns('', + (r'^admin/(.*)', admin.site.root), )