Commit 4f15019c authored by Daniel W Bond's avatar Daniel W Bond

noting that there will need to be drastic changes for majors that need to be...

noting that there will need to be drastic changes for majors that need to be handled very carefully supported in the next release
parent 8e04a4ab
...@@ -25,6 +25,11 @@ class Major(TimeStampedModel): ...@@ -25,6 +25,11 @@ class Major(TimeStampedModel):
slug = AutoSlugField(populate_from='name', unique=True) slug = AutoSlugField(populate_from='name', unique=True)
# don't fix this just yet-- coincide with end of semester when everyone's
# changing up their accounts anyway
#name_slug = AutoSlugField(populate_from='name') # custom function to delete
# ba/bs/etc
def first_letter(self): def first_letter(self):
return self.name and self.name[0] or '' return self.name and self.name[0] or ''
......
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