> - structure/models.py
> class Issue(models.Model):
> (...)
> pub_date = models.DateField('Publication date', unique=True)
> (...)
>
> class Meta:
> ordering = ['-pub_date']
> -
>
> - stories/models.py
> class Story(models.Model):
> (...)
> issue = model
I'm having problems with ordering based on related fields that may be
a clone of the issue brought up in ticket 1576 (http://
code.djangoproject.com/ticket/1576), though because that problem was
so old and the ticket was closed I wasn't sure where I should bring
this up. Also, it could just be my
2 matches
Mail list logo