I am working with the trunk, and I never tried the order_with_respect_to 
before, so I don't know how it works but it's on the official Django's 
documentation.
Since my model is called Section, it's probably something about Python 
tricks to get a property dinamically. That sounds exciting, my first bug 
found =)
I googled everything about this and I couldn't find anything similar and 
I don't know where to start to find why this bug happens. But all the 
examples that I found about this property (order_with_respect_to) uses a 
different model, maybe it's a clue.

     Regards,

Anderson


Malcolm Tredinnick wrote:
> On Mon, 2007-03-26 at 19:23 -0300, Anderson Santos Silva wrote:
>   
>>     Hello, I am having problem when I use the order_with_respect_to and 
>> a self related foreign key model:
>>
>>     When I validate this, it raises "'str' object has no attribute 
>> 'get_section_order'" and when I use self or Section, it raises the error:
>> "Section has no field named 'self'"
>>     
>
> What version of Django are you using? I cannot find the string
> get_section_order anywhere in the source code in the latest version, so
> I can't work out what is raising this error.
>
> There may be a genuine bug here, but I'm reluctant to dive too deep
> until we've worked out why you are seeing an error message from beyond
> the grave, so to speak. :-)
>
> Regards,
> Malcolm
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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 this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to