Hi !

I got some errors by using the Meta options order_with_respect_to:
<code>
class Category(PublicationBase, LocalisationBase):
    ITEM_PER_PAGE = 12
    name = models.CharField(max_length=255)
    pictogram = models.ImageField(upload_to="categories", blank=True)
    old_id = models.PositiveIntegerField(blank=True)
    parent = models.ForeignKey("Category", blank=True, null=True)

    class Meta:
        ordering = ['name']
        order_with_respect_to = 'parent'

    def __unicode__(self):
        return self.name
</code>

I post on django-users. I got some email from many django users who
whant to know if I found a workaround.
I found this ticket: http://code.djangoproject.com/ticket/2740 but I
don't like to patch django.

Here is my post on django-users:
http://groups.google.com/group/django-users/browse_thread/thread/1374d256a91393c9/6b5391721a656adc?lnk=gst&q=order_with_respect_to+fail+any+workaround#6b5391721a656adc

I know you work really hard for us, but can I know if the bug will be
corrected shortly or not. With this information I  I can take the
decision of patching or not django.

Regards,

Thierry


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to