Re: Abstract base user

2021-09-15 Thread Muhammad Shehzad
class UserManager(DjangoUserManager): def create_one_user(self, username, email, password, **extra_fields): return self._create_user( username, email, password, type="one", **extra_fields ) def create_two_user(self, username, email, password, **extra_fields): return self._create_user( username, em

Re: Abstract base user

2021-09-10 Thread Kasper Laudrup
On 10/09/2021 17.53, afsana shamsudheen wrote: how can i add two different users in django? https://docs.djangoproject.com/en/3.2/topics/auth/default/#creating-users and make registration and loginform https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view

Abstract base user

2021-09-10 Thread afsana shamsudheen
how can i add two different users in django? and make registration and loginform -- 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...@google