taskapp/management/commands/seed_db.py
changeset 183 c088c79a225c
parent 139 56203661002a
child 218 59107ce0a618
--- a/taskapp/management/commands/seed_db.py	Tue Mar 02 17:12:47 2010 +0530
+++ b/taskapp/management/commands/seed_db.py	Tue Mar 02 21:44:51 2010 +0530
@@ -8,6 +8,7 @@
 from pytask.taskapp.events import user as userEvents
 
 from pytask.taskapp.utilities.request import create_request
+from pytask.taskapp.utilities.notification import create_notification
 
 
 def seed_db():
@@ -25,6 +26,7 @@
         dob = datetime.now()
         gender = "M"
         user = userEvents.createUser(username,email,password,dob,gender)
+        create_notification("NU", user)
 
         if i%4==0:
             create_request(defaultMentor, "MG", user)