﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16119	ForeignKey.on_delete emulated only	mischiew@…	nobody	"The '''on_delete''' property of ForeignKey is only emulated by Django, which means it is not implemented as a database definition. This has drawbacks:
- prevents from using certain modes (especially '''RESTRICT''')
- makes it dangerous when the database is accessed by another client than Django (why should it be restricted?)

There should be at least an option to remove the emulation and use the normal database support when available (which is the most frequent scenario).

On the same not, '''on_update''' would be nice to have.
Likewise for '''ManyToManyField''', support for '''on_delete''' and '''on_update''' would be nice."	New feature	closed	Database layer (models, ORM)	1.3	Normal	invalid	foreign key, on delete		Unreviewed	0	0	0	0	0	0
