Don't call on_whange_with if the field is the same than the one that comes to

change
This commit is contained in:
Cédric Krier committed 2008-09-30 16:08:26 +02:00
1 parent ce4cc91066
commit 280f93eaaa
1 file changed
+2
@@ -351,6 +351,8 @@ class ModelRecord(SignalEvent):
continue
if field_name not in on_change_with:
continue
if field_name == fieldname:
continue
args = {}
for arg in on_change_with:
try: