Order topic names in the 'suggest session' dialog
Add proper ordering in topic names so that the 'suggest session' dialog looks less funky. Change-Id: Ia531336e4528c43549dca027f8a499314cc72bdd
This commit is contained in:
parent
cecd79f1c5
commit
58bece86ac
@ -40,6 +40,9 @@ class Topic(models.Model):
|
||||
lead_username = models.CharField(max_length=40)
|
||||
description = models.TextField(blank=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ['name']
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user