Module ImportFrom alias Import alias ImportFrom alias alias alias alias alias alias ImportFrom alias Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad Str keyword Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call NameLoad Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call NameLoad Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body If CompareEq AttributeLoad NameLoad attr Str body If BoolOpOr UnaryOpNot SubscriptLoad AttributeLoad NameLoad attr Index Str UnaryOpNot SubscriptLoad AttributeLoad NameLoad attr Index Str UnaryOpNot SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call NameLoad Str Str orelse If UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call NameLoad Str Str orelse Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Str Return Call NameLoad Call NameLoad Str Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Str
N/A datetime datetime N/A re flask Flask request flash url_for redirect render_template flask_sqlalchemy SQLAlchemy N/A app N/A Flask __name__ N/A N/A N/A N/A app config from_pyfile app.cfg N/A db N/A SQLAlchemy app Comments N/A N/A db Model N/A N/A __tablename__ comments N/A id N/A N/A db Column comment_id N/A db Integer primary_key True N/A name N/A N/A db Column N/A N/A db String 100 N/A email N/A N/A db Column N/A N/A db String 100 N/A comment N/A N/A db Column N/A N/A db String 200 N/A pub_date N/A N/A db Column N/A db DateTime __init__ N/A N/A self name email comment N/A N/A N/A N/A self name name N/A N/A self email email N/A N/A self comment comment N/A N/A self pub_date N/A N/A datetime now N/A N/A is_email_address_valid N/A N/A email N/A N/A N/A Validate email address using regular expression. N/A N/A N/A N/A re match ^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$ email N/A N/A False N/A True N/A show_all N/A N/A N/A N/A N/A N/A render_template show_all.html comments N/A N/A N/A N/A N/A Comments query order_by N/A N/A N/A Comments pub_date desc all N/A N/A N/A app route / create N/A N/A N/A N/A N/A N/A redirect N/A url_for show_all N/A N/A N/A app route /create drop N/A N/A N/A N/A N/A N/A redirect N/A url_for create N/A N/A N/A app route /drop new N/A N/A N/A N/A N/A N/A N/A request method POST N/A N/A N/A N/A N/A N/A request form N/A name N/A N/A N/A request form N/A email N/A N/A N/A request form N/A comment N/A N/A N/A flash Please enter all the fields error N/A N/A N/A N/A is_email_address_valid N/A N/A request form N/A email N/A N/A N/A flash Please enter a valid email address error N/A N/A comment N/A Comments N/A N/A request form N/A name N/A N/A request form N/A email N/A N/A request form N/A comment N/A N/A N/A N/A db session add comment N/A N/A N/A N/A db session commit N/A N/A flash Comment was successfully submitted N/A N/A redirect N/A url_for show_all N/A N/A render_template new.html N/A N/A N/A app route /new methods N/A GET POST N/A N/A __name__ __main__ N/A N/A N/A N/A app run host 0.0.0.0