taskapp/events/user.py
changeset 30 055dc4c1db57
parent 12 a93eebabfeb1
child 31 988d4994578f
--- a/taskapp/events/user.py	Thu Feb 04 23:24:20 2010 +0530
+++ b/taskapp/events/user.py	Fri Feb 05 15:02:55 2010 +0530
@@ -34,10 +34,10 @@
     updateProfile(user_profile, properties)
     return user
     
-def createSuUser(username,email,password,**properties):
+def createSuUser(username,email,password,dob,gender):
     """ create user using createUser method and set the is_superuser flag """
     
-    su_user = createUser(username,email,password,**properties)
+    su_user = createUser(username,email,password,dob,gender)
     su_user.is_staff = True
     su_user.is_superuser = True
     su_user.save()