#17871: Broken: GenericInlineModelAdmin and two ForeignKey -------------------------------+-------------------------------------- Reporter: danny.adair@… | Owner: nobody Type: Bug | Status: closed Component: contrib.admin | Version: 1.3 Severity: Normal | Resolution: worksforme Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by ramiro):
* status: new => closed * needs_better_patch: => 0 * resolution: => worksforme * needs_tests: => 0 * needs_docs: => 0 Comment: Replying to [ticket:17871 danny.adair@…]: > [...] > > That throws the exception > > {{{ > <class 'myproject.myapp.models.Action'> has more than 1 ForeignKey to <class 'myproject.myapp.models.Person'> > }}} > > This happens in admin.validation.validate_inline() triggered by "admin.site.register(Whatever, !WhateverAdmin)". Can't reproduce this. Tested with 1.3 and trunk. I used your models removing the !DateField's in Action. -- Ticket URL: <https://code.djangoproject.com/ticket/17871#comment:1> Django <https://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.