#9501: Generic relations to derived models won't allow for deletion of objects
those models are attached to.
-----------------------------------+----------------------------------------
Reporter: Beetle_B | Owner: nobody
Status: new | Milestone:
Component: Contrib apps | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Changes (by Beetle_B):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
"For now, I'll just create a GenericForeignKey? in the derived models as
well. Not sure if it will work..."
It didn't.
Or perhaps it worked too well.
Specifically, it no longer gives an error. It deletes all the entries in
the CommentMod table. However, those entries still remain in the Comment
table of the DB.
--
Ticket URL: <http://code.djangoproject.com/ticket/9501#comment:1>
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
-~----------~----~----~----~------~----~------~--~---