1 from django.conf.urls.defaults import * |
1 from django.conf.urls.defaults import * |
2 |
2 |
3 from workshop.reg import views as reg_views |
3 from workshop.reg import views as reg_views |
4 |
4 |
5 urlpatterns = patterns('', |
5 urlpatterns = patterns('', |
6 ('^$', reg_views.homepage), |
6 (r'^$', reg_views.homepage), |
7 ('^login/$', reg_views.user_login), |
7 (r'^login/$', reg_views.user_login), |
8 ('^logout/$', reg_views.user_logout), |
8 (r'^logout/$', reg_views.user_logout), |
9 ('^register/$', reg_views.user_register), |
9 (r'^register/$', reg_views.user_register), |
10 ('^event/create/$', reg_views.create_event), |
10 (r'^password_reset/$', reg_views.reset_password), |
11 ('^event/view/(\w+)/$', reg_views.view_event), |
11 (r'^password_change/$', reg_views.change_password), |
|
12 (r'^event/create/$', reg_views.create_event), |
|
13 (r'^event/view/(\w+)/$', reg_views.view_event), |
12 ) |
14 ) |