mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-20 09:40:16 -04:00
feat(destinations): sort colleges on user list page
This commit is contained in:
parent
4c5bceaa6d
commit
a29abe4803
|
@ -71,6 +71,9 @@ class Decision(models.Model):
|
||||||
|
|
||||||
last_modified = models.DateTimeField(auto_now=True)
|
last_modified = models.DateTimeField(auto_now=True)
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ["admission_status", "college"]
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return (
|
return (
|
||||||
f"{self.college.name} - {self.get_decision_type_display()}: "
|
f"{self.college.name} - {self.get_decision_type_display()}: "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user