1👍
Create a subclass of AbstractBaseUser
class User(AbstractBaseUser):
id = models.BigAutoField()
and in your settings.py
AUTH_USER_MODEL = 'myapp.User'
👤e4c5
Source:stackexchange.com
1👍
Create a subclass of AbstractBaseUser
class User(AbstractBaseUser):
id = models.BigAutoField()
and in your settings.py
AUTH_USER_MODEL = 'myapp.User'