show orders with newest at the top
This commit is contained in:
parent
e98bd530e2
commit
15ceea3f5a
|
@ -15,6 +15,7 @@ class Order(CreatedUpdatedModel):
|
|||
|
||||
class Meta:
|
||||
unique_together = ('user', 'open')
|
||||
ordering = '-created'
|
||||
|
||||
products = models.ManyToManyField(
|
||||
'shop.Product',
|
||||
|
|
Loading…
Reference in a new issue