editor form: call super().clean()
This commit is contained in:
parent
9369dad3a2
commit
e239136e2b
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class MapitemFormMixin(ModelForm):
|
|||
if 'geometry' in self.fields:
|
||||
if not self.cleaned_data.get('geometry'):
|
||||
raise ValidationError('Missing geometry.')
|
||||
super().clean()
|
||||
|
||||
|
||||
def create_editor_form(mapitemtype):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue