summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-01-20 16:05:53 +0200
committerYuval Adam <yuv.adm@gmail.com>2011-01-20 16:05:53 +0200
commitfb6edb764a84bbfb9c169468d0422987b43de1e3 (patch)
tree716dfa28ef5925a51ec112a2e6b5efdf06804af8 /urls.py
parent5a0d324b9ecf9ec88a772bf7fc92e5b14c0c60de (diff)
good stuff almost there
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py7
1 files changed, 4 insertions, 3 deletions
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<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),