Skip to content

Commit

Permalink
fixing ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNoelk committed Aug 28, 2018
1 parent 7c56c0a commit d34caa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v1/menu/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class MenuItem(models.Model):
end_date = models.DateTimeField(null=True, blank=True)

class Meta:
ordering = ['id']
ordering = ['start_date', 'id']

def __unicode__(self):
return '%s' % self.recipe.title

0 comments on commit d34caa9

Please sign in to comment.