From fb6edb764a84bbfb9c169468d0422987b43de1e3 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Thu, 20 Jan 2011 16:05:53 +0200 Subject: good stuff almost there --- urls.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index e953a41..940a444 100644 --- a/urls.py +++ b/urls.py @@ -2,11 +2,12 @@ from django.conf.urls.defaults import * from django.conf import settings # Uncomment the next two lines to enable the admin: -# from django.contrib import admin -# admin.autodiscover() +from django.contrib import admin +admin.autodiscover() urlpatterns = patterns('', (r'^$', 'fooz.main.views.index'), + (r'^match/$', 'fooz.main.views.match'), # Example: # (r'^fooz/', include('fooz.foo.urls')), @@ -14,7 +15,7 @@ urlpatterns = patterns('', # (r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: - # (r'^admin/', include(admin.site.urls)), + (r'^admin/', include(admin.site.urls)), # media serving, will move later on to subdomain served by Apache (r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), -- cgit v1.3.1