urls.py
author nishanth
Sat, 05 Jun 2010 17:18:10 +0530
branchanoop
changeset 41 651b341fd555
parent 40 aa5abe1664ce
child 48 a3e6f9470549
permissions -rw-r--r--
added captcha for registration
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
31
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
     7
from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about
10
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
     8
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
     9
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    10
urlpatterns = patterns('',
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    11
    # Example:
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    12
    # (r'^sage_days/', include('sage_days.foo.urls')),
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    13
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    14
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    15
    # to INSTALLED_APPS to enable admin documentation:
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    16
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    17
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    18
    # Uncomment the next line to enable the admin:
40
aa5abe1664ce disabled the admin interface
nishanth
parents: 31
diff changeset
    19
    # (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
    20
    (r'^$',homepage),
31
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    21
    (r'^schedule/',schedule),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    22
    (r'^organizers/',organizers),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    23
    (r'^venue/',venue),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    24
    (r'^contact/',contact),
ec540dfbfe78 added more pages.
anoop
parents: 26
diff changeset
    25
    (r'^about/',about),
10
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
    26
    (r'^registration/', include('sage_days.sdi.site.urls')),
41
651b341fd555 added captcha for registration
nishanth
parents: 40
diff changeset
    27
    (r'^captcha/', include('captcha.urls')),
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    28
)