Django User authentication OR Custom Model For the Situation

23 views
Skip to first unread message

Neeraj Rana

unread,
Nov 23, 2020, 8:41:44 AM11/23/20
to Django users
I am trying to create two different types of users, prime and one prime with that it also consist of email verification and custom username.
Now, my question is should I use the user auth model, and django.forms and extend the form for email, phone no or should i build a completely new model and form? 
Hope to have a reply

mike vickers

unread,
Nov 23, 2020, 9:06:08 AM11/23/20
to django...@googlegroups.com
https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html

This is a nice reference that goes over the pros/cons of the different approaches to your problem.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e2a764bf-e302-4bcf-b66d-cbde1864e019n%40googlegroups.com.

Neeraj Rana

unread,
Nov 23, 2020, 9:20:43 AM11/23/20
to django...@googlegroups.com
Thank you for your response, I really appreciate this hope this helps me.

You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/EZjN0zA92gg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACaDatQ4pJa3oRm9R-2UErEv5v8FH0tKvQPnf-APLJUA_8xS-w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages