feat(destinations): sort colleges on user list page

This commit is contained in:
Ethan Nguyen 2021-11-09 14:24:52 -06:00
parent 4c5bceaa6d
commit a29abe4803
No known key found for this signature in database
GPG Key ID: B4CA5339AF911920

View File

@ -71,6 +71,9 @@ class Decision(models.Model):
last_modified = models.DateTimeField(auto_now=True)
class Meta:
ordering = ["admission_status", "college"]
def __str__(self):
return (
f"{self.college.name} - {self.get_decision_type_display()}: "