Add ordering to plant list
This commit is contained in:
parent
26d1f3ea09
commit
433a72a7a8
1 changed files with 3 additions and 0 deletions
|
@ -160,3 +160,6 @@ class Plant(models.Model):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ['stage', 'name', 'commonname', 'synonym']
|
||||||
|
|
Loading…
Reference in a new issue