~bigkevmcd/iui-projects/trunk

« back to all changes in this revision

Viewing changes to urls.py

  • Committer: Kevin McDermott
  • Date: 2009-01-18 19:54:11 UTC
  • Revision ID: kevin@canonical.com-20090118195411-4ezf4kqnc1h2bp99
Ooops...missingĀ urls.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.conf.urls.defaults import *
 
2
 
 
3
# Uncomment the next two lines to enable the admin:
 
4
# from django.contrib import admin
 
5
# admin.autodiscover()
 
6
 
 
7
urlpatterns = patterns('',
 
8
    (r"^$", "webical.events.views.index"),
 
9
    (r'^events/', include('webical.events.urls')),
 
10
 
 
11
    (r"^static/(?P<path>.*)$", "django.views.static.serve", {"document_root":
 
12
                                                             "./static/" }),
 
13
 
 
14
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
 
15
    # to INSTALLED_APPS to enable admin documentation:
 
16
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
17
 
 
18
    # Uncomment the next line to enable the admin:
 
19
    # (r'^admin/(.*)', admin.site.root),
 
20
)