This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import name | |
from django.db import models | |
#from django.contrib.auth.models import User | |
#this is the user model with my desire fields | |
# Create your models here. | |
class User(models.Model): | |
name = models.CharField(max_length=200, null=True, blank=True) | |
email = models.EmailField(max_length=200, null=True, blank=True) | |
occupation = models.CharField(max_length=200, null=True, blank=True) |