#1320: django.views.generic.create_update.delete_object does not handle
IntegrityError exception
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: closed | Component: Generic views
Version: SVN | Resolution: duplicate
Keywords: | Stage: Design decision
needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------------+-------------------------------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => duplicate
Comment:
The real crux of this has to be solved as part of #2288 -- it's a matter
of how to handle errors when cascading delete behaviour varies. I suspect
the answer is going to be that the user (developer) is responsible for
checking for this when cascading deletes are not enabled, but I'm not sure
how that will wash out in the end.
Closing this in favour of #2288.
--
Ticket URL: <http://code.djangoproject.com/ticket/1320#comment:4>
Django Code <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
-~----------~----~----~----~------~----~------~--~---