Skip to content

Fixed #19067 -- clarify and warn of limitation with #431

Closed
wants to merge 3 commits into from

2 participants

@ptone
Django member
ptone commented Oct 7, 2012

custom user models using field named 'username'

https://code.djangoproject.com/ticket/19067

@ptone ptone Fixed #19067 -- clarify and warn of limitation with
custom user models using field named 'username'
004f122
@ptone ptone commented on an outdated diff Oct 7, 2012
...o/contrib/auth/management/commands/createsuperuser.py
+ def __init__(self, *args, **kwargs):
+ """
+ an __init__ method is here largely to support swapping out custom user
@ptone
Django member
ptone added a note Oct 7, 2012

should be a comment not a docstring :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@freakboy3742
Django member

I've tweaked this patch a bit, and commited as b3b3db3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.