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 12003 "Admin application deltes related objects on ""null=True"" relation." x_O nobody "We have two models {{{ class First(db.models): second_item = models.ForeignKey('Second',null=True) ... class (db.models): ... }}} Both models registered in admin.py as AdminModels. Trying to delete object created from ""Second"" class which is RELATED to other one created from ""First"" class, admin tells that will remove also that ""First"" object. Important is that relation in ForeignKey is null. My interpretation of that ""null=True"" for admin.contrib: should set First objects with 'second_item' attribute = None. Checked against 1.1. " closed contrib.admin 1.1 duplicate admin delete remove related null True Unreviewed 0 0 0 0 0 0