Address deprecation warning around wtf Form

It’s been renamed to avoid a conflict. Not a conflict we have to worry
about. So we can just change our import and get rid of the deprecation
warning.
This commit is contained in:
Chris Hill-Scott
2017-07-26 10:59:10 +01:00
parent 5fdbbda022
commit 5596da3ff9
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import re
import pytz
from flask_wtf import Form
from flask_wtf import FlaskForm as Form
from datetime import datetime, timedelta
from notifications_utils.recipients import (
validate_phone_number,