urls.py
author nishanth
Sat, 17 Jul 2010 01:01:29 +0530
branchanoop
changeset 120 f9408ab30ace
parent 109 ad82433ae8a2
child 143 a752dc99e23c
permissions -rw-r--r--
created the basic view and template for confirming participation in sage days
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
     1
from django.conf.urls.defaults import *
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
     2
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
     3
# Uncomment the next two lines to enable the admin:
16
91518c60131d enabled admin interface in urls.py
nishanth
parents: 10
diff changeset
     4
from django.contrib import admin
91518c60131d enabled admin interface in urls.py
nishanth
parents: 10
diff changeset
     5
admin.autodiscover()
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
     6
109
ad82433ae8a2 fixed a syntax error
nishanth
parents: 91
diff changeset
     7
from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about
ad82433ae8a2 fixed a syntax error
nishanth
parents: 91
diff changeset
     8
from sage_days.sdi.views import accomodation, about_mumbai, reaching_iitb, talks_proposed
10
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
     9
from sage_days.settings import APACHE_URL_PREFIX as aup
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
    10
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    11
urlpatterns = patterns('',
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    12
    # Example:
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    13
    # (r'^sage_days/', include('sage_days.foo.urls')),
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    14
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    15
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    16
    # to INSTALLED_APPS to enable admin documentation:
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    17
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    18
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    19
    # Uncomment the next line to enable the admin:
40
aa5abe1664ce disabled the admin interface
nishanth
parents: 31
diff changeset
    20
    # (r'^administration/', include(admin.site.urls)),
26
212fcba4459e changed the app to work with apache + added base.html, and did needed changes.
anoop
parents: 16
diff changeset
    21
    (r'^$',homepage),
31
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    22
    (r'^schedule/',schedule),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    23
    (r'^organizers/',organizers),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    24
    (r'^venue/',venue),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    25
    (r'^contact/',contact),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    26
    (r'^about/',about),
48
a3e6f9470549 made some changes to links and added accomodation page.
anoop
parents: 41
diff changeset
    27
    (r'^accomodation/',accomodation),
10
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
    28
    (r'^registration/', include('sage_days.sdi.site.urls')),
41
651b341fd555 added captcha for registration
nishanth
parents: 40
diff changeset
    29
    (r'^captcha/', include('captcha.urls')),
84
7007ec492eac added more information about venue.
anoop
parents: 48
diff changeset
    30
    (r'^about_mumbai/',about_mumbai),
7007ec492eac added more information about venue.
anoop
parents: 48
diff changeset
    31
    (r'^reaching_iitb/',reaching_iitb),
91
9fab907060a7 added talks proposed page.
anoop
parents: 85
diff changeset
    32
    (r'^talks_proposed/',talks_proposed),
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    33
)