fix ortigraphy
This commit is contained in:
parent
ab6f89c3d2
commit
eb945ae348
|
@ -140,9 +140,9 @@ class SanitizationEntityView(View):
|
||||||
form = SanitizationEntityForm()
|
form = SanitizationEntityForm()
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
form.save()
|
form.save()
|
||||||
messages.success('Sanitization datas updated successfully!')
|
messages.success('Sanitization data updated successfully!')
|
||||||
else:
|
else:
|
||||||
messages.error('Error modifying Sanitization datas!')
|
messages.error('Error modifying Sanitization data!')
|
||||||
|
|
||||||
# db.session.commit()
|
# db.session.commit()
|
||||||
return flask.redirect(flask.url_for('core.user-profile'))
|
return flask.redirect(flask.url_for('core.user-profile'))
|
||||||
|
|
Reference in New Issue