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 .

from django.conf.urls.defaults import *

from workshop.reg import views as reg_views

urlpatterns = patterns('',
    ('^$', reg_views.homepage),
    ('^login/$', reg_views.user_login),
    ('^logout/$', reg_views.user_logout),
)