diff options
Diffstat (limited to 'website/models.py')
-rw-r--r-- | website/models.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/website/models.py b/website/models.py index e47fb00..b38c118 100644 --- a/website/models.py +++ b/website/models.py @@ -1,11 +1,6 @@ from django.conf import settings from django.db import models from django.contrib.auth.models import User -from django.contrib.auth.models import ( - BaseUserManager, AbstractBaseUser -) - -from website.managers import DrupalUserManager class Question(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL) @@ -26,6 +21,7 @@ class Reply(models.Model): date_modified = models.DateTimeField(auto_now=True) # CDEEP database created using inspectdb arg of manage.py + class TutorialDetails(models.Model): id = models.IntegerField(primary_key=True) foss_category = models.CharField(max_length=255L) @@ -59,10 +55,3 @@ class TutorialResources(models.Model): request_exception = models.TextField() class Meta: db_table = 'tutorial_resources' - -class Test(AbstractBaseUser): - username = models.CharField(max_length=40, unique=True, db_index=True) - USERNAME_FIELD = 'username' - REQUIRED_FIELDS = [] - - objects = DrupalUserManager() |