reg/site/urls.py
author nishanth
Fri, 09 Apr 2010 12:28:58 +0530
changeset 4 ededea9ad08b
parent 2 c11afa8623f7
child 6 057498d12450
permissions -rw-r--r--
login and logout works .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     1
from django.conf.urls.defaults import *
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     3
from workshop.reg import views as reg_views
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     4
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     5
urlpatterns = patterns('',
4
ededea9ad08b login and logout works .
nishanth
parents: 2
diff changeset
     6
    ('^$', reg_views.homepage),
ededea9ad08b login and logout works .
nishanth
parents: 2
diff changeset
     7
    ('^login/$', reg_views.user_login),
ededea9ad08b login and logout works .
nishanth
parents: 2
diff changeset
     8
    ('^logout/$', reg_views.user_logout),
2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     9
)