added support for custom user class #11
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
from django.db import models
|
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):
|
class TwitterProfile(models.Model):
|
||||||
|
|
|
||||||
Reference in a new issue