# HG changeset patch # User nishanth # Date 1265362375 -19800 # Node ID 055dc4c1db57bcc1e8d4cc82ac80892434e9426f # Parent 8baf12083a1ecfa04aaac93b325573ea1f1f0d97 fixed a bug in createSuUser method in events/user.py . diff -r 8baf12083a1e -r 055dc4c1db57 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()