diff options
Diffstat (limited to 'ctrack/users/models.py')
-rw-r--r-- | ctrack/users/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/users/models.py b/ctrack/users/models.py index 8f07b15..d1ab662 100644 --- a/ctrack/users/models.py +++ b/ctrack/users/models.py @@ -1,5 +1,5 @@ from django.contrib.auth.models import AbstractUser -from django.db.models import CharField +from django.db.models import BooleanField, CharField from django.urls import reverse from django.utils.translation import ugettext_lazy as _ @@ -9,6 +9,7 @@ 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) + is_person = BooleanField(default=False) def get_absolute_url(self): return reverse("users:detail", kwargs={"username": self.username}) |