Don,
Thank you very much for your help. You are right.
I added a comma and now it works!
L.
--~--~-~--~~~---~--~~
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@go
On Nov 8, 2006, at 12:13 AM, Pythoni wrote:
>
>
> Now when I try:
> words.get_list(order_by=('Word'))
>
> I will get the error:
> OperationalError: (1054, "Unknown column 'mimi_words.W' in 'order
> clause'")
This is a basic Python error. You have a tuple with only one item, so
you need t
Mike,
Yes, there is `Word` in words.get_list(order_by=('Word'))
because Word is a name of the field.
Do you have any other idea where a problem could be?
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
By the way, if you are still learning Django, I would suggest you to
upgrade to 0.95, because it has many API improvements and because at
some point old versions won't be supported (this is my guess :) ).
Good luck!
Aidas Bendoraitis [aka Archatas]
On 11/8/06, Mike <[EMAIL PROTECTED]> wrote:
>
Hi L,
Could it be that the 'W' in 'Word' in your order_by attribute is in
upper-case?
- Mike
--~--~-~--~~~---~--~~
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
5 matches
Mail list logo