reg/site/urls.py
author nishanth
Fri, 09 Apr 2010 16:51:56 +0530
changeset 8 e2699e042129
parent 6 057498d12450
child 9 e29ecb7819e7
permissions -rw-r--r--
now a user can create an event if he is a staff
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),
6
057498d12450 users can now register but still there is no concept of activation e-mail .
nishanth
parents: 4
diff changeset
     9
    ('^register/$', reg_views.user_register),
8
e2699e042129 now a user can create an event if he is a staff
nishanth
parents: 6
diff changeset
    10
    ('^event/create/$', reg_views.create_event),
e2699e042129 now a user can create an event if he is a staff
nishanth
parents: 6
diff changeset
    11
    ('^event/view/(\w+)/$', reg_views.view_event),
2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
    12
)