sdi/site/urls.py
branchanoop
changeset 64 3650417b0fda
parent 58 a9f5048830f6
child 66 8a5436485760
equal deleted inserted replaced
63:e9b4a3f90b6b 64:3650417b0fda
     1 from django.conf.urls.defaults import *
     1 from django.conf.urls.defaults import *
     2 
     2 
     3 from sage_days.settings import ADMIN_URL_PREFIX as aup
       
     4 from sage_days.sdi.views import register, reg_complete, list_stats, homepage, send_invi
     3 from sage_days.sdi.views import register, reg_complete, list_stats, homepage, send_invi
     5 
     4 
     6 urlpatterns = patterns('',
     5 urlpatterns = patterns('',
     7 		       (r'^register/$', register),
     6 		       (r'^register/$', register),
     8                        (r'^complete/$', reg_complete),
     7                        (r'^complete/$', reg_complete),
     9                        (r'%s/stats/$'%aup, list_stats),
     8                        (r'^stats/$', list_stats),
    10                        (r'%s/send_invi/$'%aup, send_invi),
     9                        (r'^send_invi/$', send_invi),
    11                       )
    10                       )
    12 
    11