#6108: send all_objects_to_be_deleted in the pre_delete signal
----------------------------------------------------------+-----------------
Reporter: Gábor Farkas <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
----------------------------------------------------------+-----------------
Comment (by mh):
honestly, _please_ implement this (by merging this patch or calling the
default Manager delete method, I won't be picky about this)
with the current code base (unless there is some magic hidden in
db/models/query.py ...) i found no possibility to prevent a object from
being deleted - apart from creating an ON DELETE - Trigger in the DB that
silently prevents the deletion of a record
this is, however, not possible in all environments (if all databases were
full-featured, this whole hack would not need to exist ...), and leads to
unnecessary separation/fragmentation of logic. so please fix this issue
one way or another
--
Ticket URL: <http://code.djangoproject.com/ticket/6108#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
-~----------~----~----~----~------~----~------~--~---