#9795: One-to-one relation causes inappropriate filtering of other relations ----------------------------------+----------------------------------------- Reporter: ubernostrum | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ----------------------------------+----------------------------------------- When a model has a `OneToOneField` pointing at it from another model, and that model has `limit_choices_to` set, then any related-object-selection displayed for that model will apply the `limit_choices_to`, regardless of whether the popup is being displayed to select an object for the relation which has `limit_choices_to` set.
Since this is somewhat hard to explain in words, I'll attach a minimal sample project which demonstrates the issue. -- Ticket URL: <http://code.djangoproject.com/ticket/9795> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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-updates?hl=en -~----------~----~----~----~------~----~------~--~---
