This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/pynyaata/forms.py
2023-01-01 11:13:32 +00:00

7 lines
189 B
Python

import flask_wtf # type:ignore
import wtforms # type:ignore
class SearchForm(flask_wtf.FlaskForm):
q = wtforms.SearchField("search", validators=[wtforms.validators.DataRequired()])