added support for custom user class
This commit is contained in:
parent
f8e9de9df2
commit
a479bd405a
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
from django.contrib.auth import get_user_model
|
||||
|
||||
User = get_user_model()
|
||||
|
||||
|
||||
class TwitterProfile(models.Model):
|
||||
|
|
|
|||
Reference in a new issue