Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things.

This commit is contained in:
Griatch 2014-04-20 15:03:53 +02:00
parent 787f93c4c0
commit 7d0ff9c71c
4 changed files with 12 additions and 17 deletions

View file

@ -1003,12 +1003,6 @@ class TypedObject(SharedMemoryModel):
_GA(cls, "__name__")) == typec
for typec in typeclasses))))
def delete(self, *args, **kwargs):
"""
Type-level cleanup
"""
super(TypedObject, self).delete(*args, **kwargs)
#
# Object manipulation methods
#