From 62f8c5e35949e41ecf777c36736bae1caa007179 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 6 Nov 2017 17:43:33 -0500 Subject: Update the driver Detail page. Still need to fix the Identity Create function --- app/dispatchAuth/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/dispatchAuth/models.py') diff --git a/app/dispatchAuth/models.py b/app/dispatchAuth/models.py index 6c90dd0..49e0a41 100644 --- a/app/dispatchAuth/models.py +++ b/app/dispatchAuth/models.py @@ -1,4 +1,5 @@ from django.contrib.auth.models import AbstractUser, AbstractBaseUser, PermissionsMixin, BaseUserManager +from django.core.urlresolvers import reverse from django.db import models # Create your models here. @@ -40,6 +41,7 @@ class UserManager(BaseUserManager): class User(PermissionsMixin, AbstractBaseUser): + id = models.AutoField(primary_key=True) email = models.EmailField(max_length=256, unique=True) first_name = models.CharField(max_length=256) last_name = models.CharField(max_length=256) -- cgit v1.2.3