202 Geometry conflict checking to background

* wraps check_for_conflicts() in celery based method
* fixes bug on InterventionEditForm where geometry's save() has been called twice
This commit is contained in:
mpeltriaux committed 2022-09-15 12:12:35 +02:00
1 parent 0647116168
commit 9bba982ce5
4 files changed
+10 -2

No files matched your search

-1
View File
@@ -372,7 +372,6 @@ class EditInterventionForm(NewInterventionForm):
geometry = geom_form.save(user_action)
self.instance.geometry = geometry
self.instance.geometry.save()
self.instance.log.add(user_action)