Honza Král wrote:

> Hi all,
> in django.contrib.admin.ChangeList.get_filters
> there is a line:
>
>         if self.lookup_opts.admin.list_filter and not
> self.opts.one_to_one_field:
>
> does anybody know why there is the second part of the condition?
> when I commented the second part out, the filters worked fine.
>
> I spent some time tracking this down, thinking there was something
> wrong with my models, since this behaviour is not documented.
>
> thanks for any reactions
> Honza

I raised a ticket on this issue (#2145) four months ago but it hasn't
received any attention from the developers. In the meantime, I
commented out the condition as you also suggest, and have not had any
problems since. I also see that someone has just opened ticket 2718
which is the same problem.

I suppose I could submit a patch but I'm not clear enough on what that
code is supposed to do.
--
Daniel.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to