#16913: Admin error when trying to delete object with a GenericRelation
------------------------------------+-------------------------------
Reporter: r1cky | Owner: carljm
Type: Bug | Status: assigned
Milestone: | Component: contrib.admin
Version: 1.3 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------+-------------------------------
Comment (by carljm):
Replying to [comment:3 r1cky]:
> The reason I needed related_name is that, in my case (1), the
GenericRelation is actually in an abstract base class and we inherit from
it into two models with the same name in separate apps. If I don't set it,
I get an error about collisions during model validation when starting the
dev server:
Yeah, that's a bug. If no reverse manager is actually added, there's no
collision. Mind filing that one too?
Any chance you could temporarily remove one of those apps, remove the
related_name, and see if the admin bug still happens?
--
Ticket URL: <https://code.djangoproject.com/ticket/16913#comment:4>
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 [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.