Commit e00cdad5 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

ratings to be saved for later

parent 34cfb672
......@@ -7,7 +7,9 @@ from django.core.validators import RegexValidator
class Student(TimeStampedModel):
user = models.OneToOneField(User)
# django user includes username, password, first name, and last name
rating = models.IntegerField(null=True,default=0)
# implement ratings later
# rating = models.IntegerField(null=True,default=0)
slug = AutoSlugField(populate_from='user', unique=True)
# populate from user.username, no?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment