Skip to content

Commit

Permalink
Merge pull request #444 from oleksandr-l5/master
Browse files Browse the repository at this point in the history
flask-mongoengine now using flask internal json encoder
  • Loading branch information
insspb committed Jul 1, 2022
2 parents f274088 + 4a495ce commit d08ccf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flask_mongoengine/wtf/fields.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""
Useful form fields for use with the mongoengine.
"""
import json
from gettext import gettext as _

from flask import json
from mongoengine.queryset import DoesNotExist
from wtforms import widgets
from wtforms.fields import SelectFieldBase, StringField, TextAreaField
Expand Down Expand Up @@ -99,7 +99,6 @@ def _is_selected(self, item):


class QuerySetSelectMultipleField(QuerySetSelectField):

widget = widgets.Select(multiple=True)

def __init__(
Expand Down

0 comments on commit d08ccf1

Please sign in to comment.