Commit 1d097ad7 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

missing string field

parent 878e8efa
......@@ -13,6 +13,9 @@ class Major(TimeStampedModel):
name = models.CharField(max_length = 50)
# I believe the longest is "Government and International Politics"
def __str__(self):
return self.name
class StudentQuerySet(models.query.QuerySet):
def floor(self):
return self.filter(privacy=FLOOR)
......
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