Commit 3e5794af authored by Daniel W Bond's avatar Daniel W Bond

added boolean field to student model to be able to support preventing users from using this service

parent 39556550
......@@ -179,6 +179,9 @@ class Student(TimeStampedModel):
privacy = models.CharField(max_length=100, choices=PRIVACY_CHOICES, default=FLOOR)
blocked_kids = models.ManyToManyField("self", blank=True)
# to prevent student from accessing any page of the site
blocked = models.BooleanField(default=False)
on_campus = models.BooleanField(default=True)
room = models.ForeignKey(Room, null=True, blank=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