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

students can now share rooms

parent 9b7b879c
......@@ -83,9 +83,9 @@ class Student(TimeStampedModel):
privacy = models.CharField(max_length=100, choices=PRIVACY_CHOICES, default=FLOOR)
room = models.OneToOneField(Room)
clas = models.OneToOneField(Class)
major = models.OneToOneField(Major)
room = models.ForeignKey(Room)
clas = models.ForeignKey(Class)
major = models.ForeignKey('Major')
# social media accounts
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