diff options
author | anoop | 2010-02-04 22:14:34 +0530 |
---|---|---|
committer | anoop | 2010-02-04 22:14:34 +0530 |
commit | f9d063ba2c95fcb836437fbba60b2e5510e75d47 (patch) | |
tree | 9fbd66837c8ef6913cce03339b8b887d604f7d07 /urls.py | |
parent | 6abcf4483cdfed7da478c626f48d22bee8448047 (diff) | |
download | pytask-f9d063ba2c95fcb836437fbba60b2e5510e75d47.tar.gz pytask-f9d063ba2c95fcb836437fbba60b2e5510e75d47.tar.bz2 pytask-f9d063ba2c95fcb836437fbba60b2e5510e75d47.zip |
added views, templates for register, login, logout user.
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() -from pytask.taskapp.views.users import redirect_to_homepage, homepage +from pytask.taskapp.views.users import redirect_to_homepage, homepage, register, user_login, user_logout from pytask.taskapp.views.tasks import browse_tasks, view_task urlpatterns = patterns('', @@ -20,5 +20,8 @@ urlpatterns = patterns('', (r'^task/view/tid=(\d+)', view_task), (r'^admin/', include(admin.site.urls)), - + + (r'^accounts/register/$',register), + (r'^accounts/login/$',user_login), + (r'^accounts/logout/$',user_logout) ) |