diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2011-01-20 16:05:53 +0200 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2011-01-20 16:05:53 +0200 |
| commit | fb6edb764a84bbfb9c169468d0422987b43de1e3 (patch) | |
| tree | 716dfa28ef5925a51ec112a2e6b5efdf06804af8 /urls.py | |
| parent | 5a0d324b9ecf9ec88a772bf7fc92e5b14c0c60de (diff) | |
good stuff almost there
Diffstat (limited to 'urls.py')
| -rw-r--r-- | urls.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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}), |
