validate → clean
This commit is contained in:
parent
fce60cf8c3
commit
06797a99b8
2 changed files with 7 additions and 7 deletions
|
@ -171,7 +171,7 @@ class EditorFormBase(I18nModelFormMixin, ModelForm):
|
|||
raise ValidationError(_('Invalid JSON.'))
|
||||
|
||||
from c3nav.routing.locator import LocatorPoint
|
||||
LocatorPoint.validate_scans(data)
|
||||
LocatorPoint.clean_scans(data)
|
||||
|
||||
return data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue