I will give you one more complete example:
Custom a User is not easy you need to do many things:

In that link django-docs explain all for you and there is an example with 
email field.

https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#a-full-example


My tip is: In the docs there is many other fields like birth_date that you 
can remove.
Second, In docs the email field has used with username, you can create your 
own username field and in 

USERNAME_FIELD = 'email' change for USERNAME_FIELD = 'myusername'


-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/60403108-2619-401c-b560-a5539733a0ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to