urls.py
changeset 31 988d4994578f
parent 28 e137b605b888
child 35 da5fe6708528
--- a/urls.py	Fri Feb 05 15:02:55 2010 +0530
+++ b/urls.py	Fri Feb 05 15:40:47 2010 +0530
@@ -7,6 +7,8 @@
 from pytask.taskapp.views.user import homepage, register, user_login, user_logout, view_my_profile, edit_my_profile, browse_users
 from pytask.taskapp.views.task import browse_tasks, view_task, create_task, add_mentor, add_tasks, claim_task, assign_task
 
+from pytask.taskapp.utils.seed_db import seed_db
+
 urlpatterns = patterns('',
     # Example:
     # (r'^pytask/', include('pytask.foo.urls')),
@@ -34,4 +36,6 @@
     (r'^user/view/uid=(\d+)$', view_my_profile),
     (r'^user/edit/?$', edit_my_profile),
     (r'^user/browse/?$',browse_users),
+    
+    (r'^seed_db/$', seed_db),
 )