--- a/urls.py Thu Feb 04 22:12:48 2010 +0530
+++ b/urls.py Thu Feb 04 22:14:34 2010 +0530
@@ -4,7 +4,7 @@
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 @@
(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)
)