From ffccfedcad692135b60e4e186944ac75476c7424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Mon, 21 Oct 2024 11:24:16 +0200 Subject: [PATCH] fix: SelectFieldBase import --- CHANGES.rst | 7 +++++++ src/wtforms/__init__.py | 2 ++ src/wtforms/fields/__init__.py | 2 ++ 3 files changed, 11 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index ff48687b6..1f94f2a6d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,12 @@ .. currentmodule:: wtforms +Version 3.2.1 +------------- + +Unreleased + +- Fix :class:`~fields.SelectMultipleBase` import. :issue:`861` :pr:`862` + Version 3.2.0 ------------- diff --git a/src/wtforms/__init__.py b/src/wtforms/__init__.py index 6074b673e..80cef2e9e 100644 --- a/src/wtforms/__init__.py +++ b/src/wtforms/__init__.py @@ -2,6 +2,7 @@ from wtforms import widgets from wtforms.fields.choices import RadioField from wtforms.fields.choices import SelectField +from wtforms.fields.choices import SelectFieldBase from wtforms.fields.choices import SelectMultipleField from wtforms.fields.core import Field from wtforms.fields.core import Flags @@ -44,6 +45,7 @@ "ValidationError", "SelectField", "SelectMultipleField", + "SelectFieldBase", "RadioField", "Field", "Flags", diff --git a/src/wtforms/fields/__init__.py b/src/wtforms/fields/__init__.py index 4d588a881..64fb6d391 100644 --- a/src/wtforms/fields/__init__.py +++ b/src/wtforms/fields/__init__.py @@ -1,5 +1,6 @@ from wtforms.fields.choices import RadioField from wtforms.fields.choices import SelectField +from wtforms.fields.choices import SelectFieldBase from wtforms.fields.choices import SelectMultipleField from wtforms.fields.core import Field from wtforms.fields.core import Flags @@ -38,6 +39,7 @@ "Label", "SelectField", "SelectMultipleField", + "SelectFieldBase", "RadioField", "DateTimeField", "DateField",