sdi/site/urls.py
branchanoop
changeset 66 8a5436485760
parent 64 3650417b0fda
child 86 1f0be76a18fc
equal deleted inserted replaced
65:0ca63c964237 66:8a5436485760
     1 from django.conf.urls.defaults import *
     1 from django.conf.urls.defaults import *
     2 
     2 
     3 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, admin_login, admin_logout
     4 
     4 
     5 urlpatterns = patterns('',
     5 urlpatterns = patterns('',
     6 		       (r'^register/$', register),
     6 		       (r'^register/$', register),
     7                        (r'^complete/$', reg_complete),
     7                        (r'^complete/$', reg_complete),
     8                        (r'^stats/$', list_stats),
     8                        (r'^stats/$', list_stats),
     9                        (r'^send_invi/$', send_invi),
     9                        (r'^send_invi/$', send_invi),
       
    10                        (r'^login/$', admin_login),
       
    11                        (r'^logout/$', admin_logout),
    10                       )
    12                       )
    11 
    13