mmilewski/entelib — Issue #7: ON DELETE behaviour
Author: mmilewski
Created: 2012-01-26 20:36:41+00:00
State: open

Applies to code, templates, shell or what?
Aplication's interaction with database.

Description:
Client wants the app to follow "ON DELETE RESTRICT" rule, but Django follows "ON DELETE CASCADE".

This plugin allows change of this behaviour:
http://code.djangoproject.com/ticket/7539

Django 1.3 does that
https://docs.djangoproject.com/en/1.3/ref/models/fields/#django.db.models.ForeignKey.on_delete