Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Str Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad
N/A N/A os flask Flask render_template_string flask_mail Mail flask_sqlalchemy SQLAlchemy flask_user login_required UserManager UserMixin SQLAlchemyAdapter ConfigClass N/A object N/A N/A SECRET_KEY N/A N/A os getenv SECRET_KEY THIS IS AN INSECURE SECRET N/A SQLALCHEMY_DATABASE_URI N/A N/A os getenv DATABASE_URL sqlite:///multi_email_app.sqlite N/A CSRF_ENABLED True N/A MAIL_USERNAME N/A N/A os getenv MAIL_USERNAME email@example.com N/A MAIL_PASSWORD N/A N/A os getenv MAIL_PASSWORD password N/A MAIL_DEFAULT_SENDER N/A N/A os getenv MAIL_DEFAULT_SENDER "MyApp" <noreply@example.com> N/A MAIL_SERVER N/A N/A os getenv MAIL_SERVER smtp.gmail.com N/A MAIL_PORT N/A int N/A N/A os getenv MAIL_PORT 465 N/A MAIL_USE_SSL N/A int N/A N/A os getenv MAIL_USE_SSL True N/A USER_APP_NAME AppName N/A USER_ENABLE_MULTIPLE_EMAILS True N/A create_app N/A N/A N/A N/A N/A  Flask application factory  N/A app N/A Flask __name__ N/A N/A N/A N/A app config from_object N/A __name__ .ConfigClass N/A db N/A SQLAlchemy app N/A mail N/A Mail app User N/A N/A db Model UserMixin N/A N/A id N/A N/A db Column N/A db Integer primary_key True N/A username N/A N/A db Column N/A N/A db String 50 nullable False unique True N/A password N/A N/A db Column N/A N/A db String 255 nullable False server_default N/A reset_password_token N/A N/A db Column N/A N/A db String 100 nullable False server_default N/A active N/A N/A db Column is_active N/A N/A db Boolean nullable False server_default 0 N/A first_name N/A N/A db Column N/A N/A db String 100 nullable False server_default N/A last_name N/A N/A db Column N/A N/A db String 100 nullable False server_default N/A user_emails N/A N/A db relationship UserEmail N/A UserEmail N/A N/A db Model N/A N/A id N/A N/A db Column N/A db Integer primary_key True N/A user_id N/A N/A db Column N/A db Integer N/A N/A db ForeignKey user.id N/A email N/A N/A db Column N/A N/A db String 255 nullable False unique True N/A confirmed_at N/A N/A db Column N/A N/A db DateTime N/A is_primary N/A N/A db Column N/A N/A db Boolean nullable False default False N/A user N/A N/A db relationship User uselist False N/A N/A N/A N/A db create_all N/A db_adapter N/A SQLAlchemyAdapter db User UserEmailClass UserEmail N/A user_manager N/A UserManager db_adapter app home_page N/A N/A N/A N/A N/A N/A render_template_string 
            {% extends "base.html" %}
            {% block content %}
                <h2>Home page</h2>
                <p>This page can be accessed by anyone.</p><br/>
                <p><a href={{ url_for('home_page') }}>Home page</a> (anyone)</p>
                <p><a href={{ url_for('members_page') }}>Members page</a> (login required)</p>
            {% endblock %}
             N/A N/A N/A app route / members_page N/A N/A N/A N/A N/A N/A render_template_string 
            {% extends "base.html" %}
            {% block content %}
                <h2>Members page</h2>
                <p>This page can only be accessed by authenticated users.</p><br/>
                <p><a href={{ url_for('home_page') }}>Home page</a> (anyone)</p>
                <p><a href={{ url_for('members_page') }}>Members page</a> (login required)</p>
            {% endblock %}
             N/A N/A N/A app route /members login_required N/A app N/A N/A N/A __name__ __main__ N/A N/A app N/A create_app N/A N/A N/A app run host 0.0.0.0 port 5000 debug True