Commit 7ebed047 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

fixed user in models

parent 52ca6650
......@@ -75,12 +75,10 @@ class Program(BaseModel):
# should inherit from the standard Django User Model
class Student(BaseModel):
class Student(User):
user = models.OneToOneField(User)
# might there be a problem with the name field in base?
# should this be a trajectory instead? >_>
alreadyTaken = models.ManyToManyField('Course', null=True)
trajectory = models.ManyToManyField('Trajectory', null=True)
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