Hi, I can't check your source code (I haven't got a baidu account, which appears to be a requirement for downloading the zip file you've provided), but you should only be asked for your password twice.
My guess is that you've included "password" in your list of REQUIRED_FIELDS. REQUIRED_FIELDS only needs to include user-added fields on your own model - for example, if ever user must have a date of birth, you can put the date_of_birth field in REQUIRED_FIELDS. You *don't* need to include username, password, or any of the built-in fields that Django provides as part of the base user model. Remove 'password' from REQUIRED_FIELDS, and you should only get two requests for a password. I can see why you've made this error - the documentation isn't clear on this point. I've opened ticket #21726 [1] to make sure this is addressed. [1] https://code.djangoproject.com/ticket/21726 Yours, Russ Magee %-) On Fri, Jan 3, 2014 at 9:11 AM, 项楠 <[email protected]> wrote: > django 1.6.1,python 3.3.3, windows 8. > > I choose Substituting a custom User > model<https://docs.djangoproject.com/en/1.6/topics/auth/customizing/#auth-custom-user>, > and everything is ok except creating superuser at the beginning: > > [image: enter image description here] > > As you can see, django asked password for three times despite the success > in creating the superuser., why? > > this is the source code <http://pan.baidu.com/s/1c0lA5JM>, if needed. > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/695f6660-08c6-454e-bf62-549759dd6b54%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq84_-E186PVvZ9YdmAn-fP-QL4T8wVXDPMkn_M3xYfrY49w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

