#12305: order_by problem
------------------------------------------+---------------------------------
Reporter: mhangman | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.1
Keywords: order_by | Stage: Unreviewed
Has_patch: 0 |
------------------------------------------+---------------------------------
list = pnews.objects.filter(status=True).order_by('-pdate')
well this is my list. im trying to order_by with "-pdate". For different
days it works well but when it try to list objects at same day order_by
not working with "-pdate". Its working with +pdate. i tried to look on
django source but cant find something about this. is it something like
(-pdate[-pdate]) this ?
--
Ticket URL: <http://code.djangoproject.com/ticket/12305>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.