urls.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 02 Aug 2010 16:19:52 +0530
changeset 203 3d0970ef6feb
parent 16 91518c60131d
permissions -rw-r--r--
Added all possible regex path 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
10
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
     7
from sage_days.sdi.views import register
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:
203
3d0970ef6feb Added all possible regex path for registration.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 16
diff changeset
    19
    (r'^administration/(.*)', include(admin.site.urls)),
10
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
    20
e6aac19d8a25 created site.urls in sdi and mapped urls.py accordingly
nishanth
parents: 0
diff changeset
    21
    (r'^registration/', include('sage_days.sdi.site.urls')),
0
d2b78840bfcb initial commit
nishanth
parents:
diff changeset
    22
)