summaryrefslogtreecommitdiff
path: root/chimere/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/forms.py')
-rw-r--r--chimere/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index bfac727..cd75ec4 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -792,7 +792,9 @@ class AreaAdminForm(forms.ModelForm):
except ValueError:
v = None
if not v:
+ args[0]._mutable = True
args[0][k] = None
+ args[0]._mutable = False
if 'instance' in keys and keys['instance']:
instance = keys['instance']
dct = {'area': (instance.upper_left_corner,