Project

General

Profile

Revision cd771306

IDcd771306951ff07fdd840959edd6db202fa022f6
Parent 988e217a
Child 03f9c52d

Added by Julian Binder about 11 years ago

Updated user model

View differences:

crm/robocrm/models.py
1 1
from django.db import models
2 2

  
3 3
# User Model
4
class User(models.model):
5
  andrewID = models.CharField(max_length=8)
6
  first_name = models.CharField(max_length=30)
7
  last_name = models.CharField(max_length=30)
4
class RoboUser(AbstractBaseUser):
5
  andrewID = models.CharField(max_length=8, unique=True, db_index=True)
6
  
7

  
8

  
9

  
10
  USERNAME_FIELD = 'andrewID'
8 11
  

Also available in: Unified diff