#10829: QuerySet.delete() attempts to delete unmanaged models. ------------------------------------------+--------------------------------- Reporter: justinlilly | Owner: nobody Status: new | Milestone: 1.1 Component: Database layer (models, ORM) | Version: 1.1-beta-1 Keywords: unmanaged | Stage: Unreviewed Has_patch: 0 | ------------------------------------------+--------------------------------- When there is an unmanaged model which has a ForeignKey to an object that you're attempting to delete, the ORM attempts to delete it. In my case, this is a database view which doesn't support deletion.
I'll update this with a bit more information and a method for reproducing the error later today, just want to get it on the radar. I'm also assigning this to the 1.1 milestone as not being able to delete an object associated with a managed model is kind of a big deal. Feel free to override me on it though. -- Ticket URL: <http://code.djangoproject.com/ticket/10829> 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 -~----------~----~----~----~------~----~------~--~---
