pyfedi/app/dev/forms.py
2024-08-11 08:04:04 -04:00

12 lines
No EOL
473 B
Python

from flask import request, g
from flask_login import current_user
from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, TextAreaField, BooleanField, HiddenField, SelectField, FileField
from wtforms.validators import ValidationError, DataRequired, Email, EqualTo, Length, Optional
from flask_babel import _, lazy_gettext as _l
from app import db
class AddTestCommunities(FlaskForm):
submit = SubmitField(_l('Populate Communities for Testing'))