django sort queryset without order by code example Example: django order by class Meta: ordering = ('date',)