From f241b4e36b4284036d2dda51c5fe11d9cf1560e1 Mon Sep 17 00:00:00 2001 From: Simon Hewitt Date: Tue, 18 Oct 2016 10:26:21 -0700 Subject: [PATCH] use flask_wtf import (flask.ext is deprecated) --- flask_ldap_login/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flask_ldap_login/forms.py b/flask_ldap_login/forms.py index 8e2e73f..04195c9 100644 --- a/flask_ldap_login/forms.py +++ b/flask_ldap_login/forms.py @@ -1,9 +1,10 @@ -from flask.ext.wtf import Form +from flask_wtf import Form import wtforms from wtforms import validators from flask import flash, current_app import ldap + class LDAPLoginForm(Form): """ This is a form to be subclassed by your application.