fixed a bug in createSuUser method in events/user.py .
authornishanth
Fri, 05 Feb 2010 15:02:55 +0530
changeset 30 055dc4c1db57
parent 29 8baf12083a1e
child 31 988d4994578f
fixed a bug in createSuUser method in events/user.py .
taskapp/events/user.py
--- 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()