fixed a bug in createSuUser method in 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()