diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/users/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ctrack/users/models.py b/ctrack/users/models.py index df23623..76dabf3 100644 --- a/ctrack/users/models.py +++ b/ctrack/users/models.py @@ -1,4 +1,5 @@ from django.contrib.auth.models import AbstractUser +from django.db import models from django.db.models import BooleanField, CharField from django.urls import reverse from django.utils.translation import ugettext_lazy as _ @@ -9,7 +10,10 @@ class User(AbstractUser): # First Name and Last Name do not cover name patterns # around the globe. name = CharField(_("Name of User"), blank=True, max_length=255) - oes_user = BooleanField(default=False, verbose_name="OES User") def get_absolute_url(self): return reverse("users:detail", kwargs={"username": self.username}) + + +class UserProfile(models.Model): + pass |