summaryrefslogtreecommitdiff
path: root/chimere/main/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/main/forms.py')
-rw-r--r--chimere/main/forms.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/chimere/main/forms.py b/chimere/main/forms.py
index 1bc197f..ef13dc8 100644
--- a/chimere/main/forms.py
+++ b/chimere/main/forms.py
@@ -247,10 +247,8 @@ class AreaAdminForm(forms.ModelForm):
"""
Custom save method in order to manage area
"""
- print 1
new_area = super(AreaAdminForm, self).save(*args, **keys)
area = self.cleaned_data['area']
- print 2
new_area.upper_left_corner = 'POINT(%s %s)' % (area[0][0], area[0][1])
new_area.lower_right_corner = 'POINT(%s %s)' % (area[1][0],
area[1][1])