Module Expr Str ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword Call NameLoad Str FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Str keyword ListLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword Str keyword Call NameLoad keyword ListLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword Str keyword ListLoad TupleLoad Str Str TupleLoad Str Call NameLoad Str TupleLoad Str Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Call NameLoad keyword Num keyword Num Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Call NameLoad keyword Num keyword Num Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad keyword Str Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad keyword Str Assign NameStore Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr If NameLoad body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr If NameLoad body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr If NameLoad body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr CompareGt NameLoad Num body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr CompareGt NameLoad Num body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Num keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body If CompareGt Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad keyword NameLoad body Raise Call NameLoad Call NameLoad Str keyword AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str keyword Num keyword ListLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
    flaskbb.management.forms
    ~~~~~~~~~~~~~~~~~~~~~~~~

    It provides the forms that are needed for the management views.

    :copyright: (c) 2014 by the FlaskBB Team.
    :license: BSD, see LICENSE for more details.
 flask_wtf Form wtforms BooleanField HiddenField IntegerField PasswordField SelectField StringField SubmitField TextAreaField wtforms.validators DataRequired Optional Email regexp Length URL ValidationError wtforms.ext.sqlalchemy.fields QuerySelectField QuerySelectMultipleField sqlalchemy.orm.session make_transient make_transient_to_detached flask_babelplus lazy_gettext _ flaskbb.utils.fields BirthdayField flaskbb.utils.widgets SelectBirthdayWidget flaskbb.extensions db flaskbb.forum.models Forum Category flaskbb.user.models User Group flaskbb.utils.requirements IsAtleastModerator flask_allows Permission N/A USERNAME_RE ^[\w.+-]+$ N/A is_username N/A regexp USERNAME_RE message N/A _ You can only use letters, numbers or dashes. selectable_forums N/A N/A N/A N/A N/A N/A N/A N/A Forum query order_by N/A Forum position N/A selectable_categories N/A N/A N/A N/A N/A N/A N/A N/A Category query order_by N/A Category position N/A selectable_groups N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Group query order_by N/A N/A N/A Group id asc all N/A select_primary_group N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Group query filter N/A N/A Group guest True order_by N/A Group id N/A UserForm N/A Form N/A N/A username N/A StringField N/A _ Username validators N/A N/A DataRequired message N/A _ A Username is required. is_username N/A email N/A StringField N/A _ E-Mail Address validators N/A N/A DataRequired message N/A _ A E-Mail Address is required. N/A Email message N/A _ Invalid E-Mail Address. N/A password N/A PasswordField Password validators N/A N/A Optional N/A birthday N/A BirthdayField N/A _ Birthday format %d %m %Y widget N/A SelectBirthdayWidget validators N/A N/A Optional N/A gender N/A SelectField N/A _ Gender default None choices N/A N/A None N/A Male N/A _ Male N/A Female N/A _ Female N/A location N/A StringField N/A _ Location validators N/A N/A Optional N/A website N/A StringField N/A _ Website validators N/A N/A Optional N/A URL N/A avatar N/A StringField N/A _ Avatar validators N/A N/A Optional N/A URL N/A signature N/A TextAreaField N/A _ Forum Signature validators N/A N/A Optional N/A Length min 0 max 250 N/A notes N/A TextAreaField N/A _ Notes validators N/A N/A Optional N/A Length min 0 max 5000 N/A primary_group N/A QuerySelectField N/A _ Primary Group query_factory select_primary_group get_label name N/A secondary_groups N/A QuerySelectMultipleField N/A _ Secondary Groups query_factory select_primary_group get_label name N/A submit N/A SubmitField N/A _ Save validate_username N/A N/A self field N/A N/A N/A N/A hasattr self user N/A N/A user N/A N/A N/A N/A N/A User query filter N/A N/A db and_ N/A N/A N/A User username like N/A field data N/A N/A db not_ N/A N/A User id N/A N/A self user id first N/A N/A user N/A N/A N/A N/A N/A User query filter N/A N/A N/A User username like N/A field data first N/A user N/A N/A N/A ValidationError N/A _ This Username is already taken. N/A validate_email N/A N/A self field N/A N/A N/A N/A hasattr self user N/A N/A user N/A N/A N/A N/A N/A User query filter N/A N/A db and_ N/A N/A N/A User email like N/A field data N/A N/A db not_ N/A N/A User id N/A N/A self user id first N/A N/A user N/A N/A N/A N/A N/A User query filter N/A N/A N/A User email like N/A field data first N/A user N/A N/A N/A ValidationError N/A _ This E-Mail Address is already taken. N/A save N/A N/A self N/A N/A N/A data N/A self data N/A N/A N/A data pop submit None N/A user N/A User data N/A N/A N/A user save N/A N/A AddUserForm N/A UserForm N/A N/A N/A EditUserForm N/A UserForm N/A __init__ N/A N/A self user N/A args kwargs N/A N/A N/A self user user N/A N/A kwargs N/A obj N/A self user N/A N/A N/A UserForm __init__ self args kwargs N/A N/A GroupForm N/A Form N/A N/A name N/A StringField N/A _ Group Name validators N/A N/A DataRequired message N/A _ A Group name is required. N/A description N/A TextAreaField N/A _ Description validators N/A N/A Optional N/A admin N/A BooleanField N/A _ Is Admin Group? description N/A _ With this option the group has access to the admin panel. N/A super_mod N/A BooleanField N/A _ Is Super Moderator Group? description N/A _ Check this if the users in this group are allowed to moderate every forum. N/A mod N/A BooleanField N/A _ Is Moderator Group? description N/A _ Check this if the users in this group are allowed to moderate specified forums. N/A banned N/A BooleanField N/A _ Is Banned Group? description N/A _ Only one Banned group is allowed. N/A guest N/A BooleanField N/A _ Is Guest Group? description N/A _ Only one Guest group is allowed. N/A editpost N/A BooleanField N/A _ Can edit posts description N/A _ Check this if the users in this group can edit posts. N/A deletepost N/A BooleanField N/A _ Can delete posts description N/A _ Check this is the users in this group can delete posts. N/A deletetopic N/A BooleanField N/A _ Can delete topics description N/A _ Check this is the users in this group can delete topics. N/A posttopic N/A BooleanField N/A _ Can create topics description N/A _ Check this is the users in this group can create topics. N/A postreply N/A BooleanField N/A _ Can post replies description N/A _ Check this is the users in this group can post replies. N/A mod_edituser N/A BooleanField N/A _ Moderators can edit user profiles description N/A _ Allow moderators to edit a another users profile including password and email changes. N/A mod_banuser N/A BooleanField N/A _ Moderators can ban users description N/A _ Allow moderators to ban other users. N/A submit N/A SubmitField N/A _ Save validate_name N/A N/A self field N/A N/A N/A N/A hasattr self group N/A N/A group N/A N/A N/A N/A N/A Group query filter N/A N/A db and_ N/A N/A N/A Group name like N/A field data N/A N/A db not_ N/A N/A Group id N/A N/A self group id first N/A N/A group N/A N/A N/A N/A N/A Group query filter N/A N/A N/A Group name like N/A field data first N/A group N/A N/A N/A ValidationError N/A _ This Group name is already taken. N/A validate_banned N/A N/A self field N/A N/A N/A N/A hasattr self group N/A N/A group N/A N/A N/A N/A N/A Group query filter N/A N/A db and_ N/A Group banned N/A N/A db not_ N/A N/A Group id N/A N/A self group id count N/A N/A group N/A N/A N/A N/A N/A Group query filter_by banned True count N/A N/A N/A field data N/A group 0 N/A N/A N/A ValidationError N/A _ There is already a Banned group. N/A validate_guest N/A N/A self field N/A N/A N/A N/A hasattr self group N/A N/A group N/A N/A N/A N/A N/A Group query filter N/A N/A db and_ N/A Group guest N/A N/A db not_ N/A N/A Group id N/A N/A self group id count N/A N/A group N/A N/A N/A N/A N/A Group query filter_by guest True count N/A N/A N/A field data N/A group 0 N/A N/A N/A ValidationError N/A _ There is already a Guest group. N/A save N/A N/A self N/A N/A N/A data N/A self data N/A N/A N/A data pop submit None N/A group N/A Group data N/A N/A N/A group save N/A N/A EditGroupForm N/A GroupForm N/A __init__ N/A N/A self group N/A args kwargs N/A N/A N/A self group group N/A N/A kwargs N/A obj N/A self group N/A N/A N/A GroupForm __init__ self args kwargs N/A N/A AddGroupForm N/A GroupForm N/A N/A N/A ForumForm N/A Form N/A N/A title N/A StringField N/A _ Forum Title validators N/A N/A DataRequired message N/A _ A Forum Title is required. N/A description N/A TextAreaField N/A _ Description validators N/A N/A Optional description N/A _ You can format your description with BBCode. N/A position N/A IntegerField N/A _ Position default 1 validators N/A N/A DataRequired message N/A _ The Forum Position is required. N/A category N/A QuerySelectField N/A _ Category query_factory selectable_categories allow_blank False get_label title description N/A _ The category that contains this forum. N/A external N/A StringField N/A _ External Link validators N/A N/A Optional N/A URL description N/A _ A link to a website i.e. 'http://flaskbb.org'. N/A moderators N/A StringField N/A _ Moderators description N/A _ Comma seperated usernames. Leave it blank if you do not want to set any moderators. N/A show_moderators N/A BooleanField N/A _ Show Moderators description N/A _ Do you want show the moderators on the index page? N/A locked N/A BooleanField N/A _ Locked? description N/A _ Disable new posts and topics in this forum. N/A groups N/A QuerySelectMultipleField N/A _ Group Access to Forum query_factory selectable_groups get_label name description N/A _ Select user groups that can access this forum. N/A submit N/A SubmitField N/A _ Save validate_external N/A N/A self field N/A N/A N/A N/A hasattr self forum N/A N/A N/A N/A N/A N/A N/A self forum topics count 0 N/A N/A N/A ValidationError N/A _ You cannot convert a forum that contain topics in a external link. N/A validate_show_moderators N/A N/A self field N/A N/A N/A N/A N/A field data N/A N/A N/A self moderators data N/A N/A N/A ValidationError N/A _ You also need to specify some moderators. N/A validate_moderators N/A N/A self field N/A N/A N/A approved_moderators N/A N/A N/A field data N/A N/A moderators N/A N/A N/A mod strip N/A mod N/A N/A N/A field data split , N/A users N/A N/A N/A User query filter N/A N/A N/A User username in_ moderators N/A user users N/A N/A N/A N/A Permission IsAtleastModerator identity user N/A N/A N/A ValidationError N/A _ %(user)s is not in a moderators group. user N/A user username N/A N/A N/A N/A approved_moderators append user N/A N/A field data approved_moderators N/A save N/A N/A self N/A N/A N/A data N/A self data N/A N/A N/A data pop submit None N/A forum N/A Forum data N/A N/A N/A forum save N/A N/A EditForumForm N/A ForumForm N/A N/A id N/A HiddenField __init__ N/A N/A self forum N/A args kwargs N/A N/A N/A self forum forum N/A N/A kwargs N/A obj N/A self forum N/A N/A N/A ForumForm __init__ self args kwargs N/A save N/A N/A self N/A N/A N/A data N/A self data N/A N/A N/A data pop submit None N/A forum N/A Forum data N/A N/A make_transient forum N/A N/A make_transient_to_detached forum N/A N/A N/A forum save N/A N/A AddForumForm N/A ForumForm N/A N/A N/A CategoryForm N/A Form N/A N/A title N/A StringField N/A _ Category Title validators N/A N/A DataRequired message N/A _ A Category Title is required. N/A description N/A TextAreaField N/A _ Description validators N/A N/A Optional description N/A _ You can format your description with BBCode. N/A position N/A IntegerField N/A _ Position default 1 validators N/A N/A DataRequired message N/A _ The Category Position is required. N/A submit N/A SubmitField N/A _ Save save N/A N/A self N/A N/A N/A data N/A self data N/A N/A N/A data pop submit None N/A category N/A Category data N/A N/A N/A category save N/A N/A