Add the initial RegisteredUser class, remove standard Django apps

This commit is contained in:
Bradlee Speice 2013-10-09 21:37:12 -04:00
parent 74fd422dfc
commit f92f830110
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
from django.db import models from django.db import models
# Create your models here. # Create your models here.
class RegisteredUser(models.Model):
date_registered = models.DateTimeField()
first_name = models.CharField(max_length=64)
last_name = models.CharField(max_length=64)
section = models.CharField(max_length=8)
row = models.IntegerField()

View File

@ -114,12 +114,12 @@ TEMPLATE_DIRS = (
) )
INSTALLED_APPS = ( INSTALLED_APPS = (
'django.contrib.auth', #'django.contrib.auth',
'django.contrib.contenttypes', #'django.contrib.contenttypes',
'django.contrib.sessions', #'django.contrib.sessions',
'django.contrib.sites', #'django.contrib.sites',
'django.contrib.messages', #'django.contrib.messages',
'django.contrib.staticfiles', #'django.contrib.staticfiles',
# Uncomment the next line to enable the admin: # Uncomment the next line to enable the admin:
# 'django.contrib.admin', # 'django.contrib.admin',
# Uncomment the next line to enable admin documentation: # Uncomment the next line to enable admin documentation: