# Path: pjuu/posts/backend.py
# MAX_POST_LENGTH = 500


from flask_wtf import FlaskForm
from flask_wtf.file import FileAllowed, FileField
from wtforms import TextAreaField, RadioField, ValidationError
from pjuu.posts.backend import MAX_POST_LENGTH
# -*- coding: utf8 -*-

"""Web forms

:license: AGPL v3, see LICENSE for more details
:copyright: 2014-2021 Joe Doherty

"""

# 3rd party imports
# Pjuu imports


class PostForm(FlaskForm):
    """Handle the input from the web for posts and replies."""
    # Expose this through the form so that we can use it in the template

# Path: pjuu/posts/backend.py
# MAX_POST_LENGTH = 500


# Path: pjuu/posts/forms.py
from flask_wtf import FlaskForm
from flask_wtf.file import FileAllowed, FileField
from wtforms import TextAreaField, RadioField, ValidationError
from pjuu.posts.backend import MAX_POST_LENGTH

# -*- coding: utf8 -*-

"""Web forms

:license: AGPL v3, see LICENSE for more details
:copyright: 2014-2021 Joe Doherty

"""

# 3rd party imports
# Pjuu imports


class PostForm(FlaskForm):
    """Handle the input from the web for posts and replies."""
    # Expose this through the form so that we can use it in the template

    MAX_POST_LENGTH = MAX_POST_LENGTH