Fix ill-typed query ordering
This commit is contained in:
parent
4247730ce4
commit
8d3805a922
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ class Partition(models.Model):
|
|||
class Meta:
|
||||
verbose_name = _('Morceau')
|
||||
verbose_name_plural = _('Morceaux')
|
||||
ordering = ('-'+Lower('nom'),)
|
||||
ordering = (Lower('nom'),)
|
||||
|
||||
|
||||
class PartitionSet(models.Model):
|
||||
|
@ -54,4 +54,4 @@ class PartitionSet(models.Model):
|
|||
class Meta:
|
||||
verbose_name = _('Morceau')
|
||||
verbose_name_plural = _('Morceaux')
|
||||
ordering = ('-'+Lower('nom'),)
|
||||
ordering = (Lower('nom'),)
|
||||
|
|
Loading…
Reference in a new issue