Just yesterday I updated the patch attached to 
http://code.djangoproject.com/ticket/7539 so that it will apply against 
the current version of Django (the previous patch required Django 0.96). 
What are the chances of some form of this patch being included in one of 
the next couple of versions of Django?

As a refresher, this patch:

a) Extends Django's built in ON DELETE CASCADE emulation to include ON 
DELETE RESTRICT and ON DELETE SET NULL emulation. These new behaviors 
can be selected on a field-by-field basis (specified by attributes in 
the ForeignKey definition) or can be specified as the default behavior 
(by adding a settting to the settings file).

b) Optionally extends Django's SQL generation to include ON DELETE 
CASCADE / RESTRICT / SET NULL and ON UPDATE CASCADE / RESTRICT / SET 
NULL clauses in the generated FOREIGN KEY definitions.

Mike


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to