All working as I wanted! Many thanks for everyone's help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from
On 1/18/07, conrad22 <[EMAIL PROTECTED]> wrote:
Deryck, I thought it ought to be along those lines, but I can't seem to
get it working.
I'm trying to use:
org_name = models.CharField ('Organisation', maxlength = 200)
class Meta:
ordering = 'org_name',
But still sorts chronologically
Deryck, I thought it ought to be along those lines, but I can't seem to
get it working.
I'm trying to use:
org_name = models.CharField ('Organisation', maxlength = 200)
class Meta:
ordering = 'org_name',
But still sorts chronologically...?
--~--~-~--~~~---
On 1/18/07, conrad22 <[EMAIL PROTECTED]> wrote:
I might be missing something in the documentation here, but is there an
obvious/easy way to call a list of objects
alphabetically?
All that 'ordering' does in a Meta class on a model is order
chronologically, no?
with thanks
No, it orders by wh
I'm not sur to understand your question, but maybe this could help :
http://www.djangoproject.com/documentation/db_api/#order-by-fields
On 18 jan, 16:01, "conrad22" <[EMAIL PROTECTED]> wrote:
I might be missing something in the documentation here, but is there an
obvious/easy way to call a list
5 matches
Mail list logo