ordering is a list

This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 18:02:12 +02:00
parent 15ceea3f5a
commit be13ccdf78

View file

@ -15,7 +15,7 @@ class Order(CreatedUpdatedModel):
class Meta:
unique_together = ('user', 'open')
ordering = '-created'
ordering = ['-created']
products = models.ManyToManyField(
'shop.Product',