Skip to content

Instantly share code, notes, and snippets.

@nehajagadeesh
Last active March 7, 2018 13:21
Show Gist options
  • Save nehajagadeesh/a83e2d7fea88344f9bed69bf2fd15b7a to your computer and use it in GitHub Desktop.
Save nehajagadeesh/a83e2d7fea88344f9bed69bf2fd15b7a to your computer and use it in GitHub Desktop.
Custom User
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