Last active
March 7, 2018 13:21
-
-
Save nehajagadeesh/a83e2d7fea88344f9bed69bf2fd15b7a to your computer and use it in GitHub Desktop.
Custom User
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.auth.models import AbstractUser | |
from django.contrib.auth.models import UserManager | |
class CustomUser(AbstractUser): | |
objects = UserManager() | |
class Meta: | |
app_label = "goibibo_inbuilt" | |
db_table = "auth_user" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment