This is not correct processing of deletion an object because it won't work if I use django shell to delete objects. You should use signals.