diff -r 7c9fea7e28c8 -r a93eebabfeb1 urls.py --- a/urls.py Thu Feb 04 22:06:22 2010 +0530 +++ b/urls.py Thu Feb 04 22:12:48 2010 +0530 @@ -4,6 +4,9 @@ from django.contrib import admin admin.autodiscover() +from pytask.taskapp.views.users import redirect_to_homepage, homepage +from pytask.taskapp.views.tasks import browse_tasks, view_task + urlpatterns = patterns('', # Example: # (r'^pytask/', include('pytask.foo.urls')), @@ -12,6 +15,10 @@ # to INSTALLED_APPS to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')), + (r'^$', homepage), + (r'^task/browse/$', browse_tasks), + (r'^task/view/tid=(\d+)', view_task), + (r'^admin/', include(admin.site.urls)), )