Hi.  I'm just trying out the new way to create a custom User class by 
extending the AbstractBaseUser class.  I essentially just copied the 
AbstractUser and UserManager classes from auth.models and customized the 
fields the way I want 'em.  I also set AUTH_USER_MODEL in settings 
appropriately.

But when I do syncdb, the tables get created fine, but when I try to create 
a superuser, it asks for the username twice, then throws this error

TypeError: create_superuser() got multiple values for keyword argument 
'username'

Anyone know what's going on?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/5-JslO4vSBAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to