![]() I have no idea how to troubleshoot this issue. : bases/bulma/bulma.htmlĪt _get_source_fast (/env/lib/python3.7/site-packages/flask/templating.py:86)Īt get_source (/env/lib/python3.7/site-packages/flask/templating.py:58)Īt load (/env/lib/python3.7/site-packages/jinja2/loaders.py:113)Īt _load_template (/env/lib/python3.7/site-packages/jinja2/environment.py:804)Īt get_template (/env/lib/python3.7/site-packages/jinja2/environment.py:830)Īt root (/srv/auth_app/templates/BASE.html:11)Īt root (/srv/auth_app/templates/login_firebase_ui.html:14)Īt render (/env/lib/python3.7/site-packages/jinja2/environment.py:1005)Īt top-level template code (/srv/auth_app/templates/login_firebase_ui.html:1)Īt reraise (/env/lib/python3.7/site-packages/jinja2/_compat.py:37)Īt handle_exception (/env/lib/python3.7/site-packages/jinja2/environment.py:780)Īt render (/env/lib/python3.7/site-packages/jinja2/environment.py:1008)Īt render (/env/lib/python3.7/site-packages/jinja2/asyncsupport.py:76)Īt _render (/env/lib/python3.7/site-packages/flask/templating.py:117)Īt render_template (/env/lib/python3.7/site-packages/flask/templating.py:135)Īt dispatch_request (/env/lib/python3.7/site-packages/flask/app.py:1799)Īt full_dispatch_request (/env/lib/python3.7/site-packages/flask/app.py:1813)Īt reraise (/env/lib/python3.7/site-packages/flask/_compat.py:35)Īt handle_user_exception (/env/lib/python3.7/site-packages/flask/app.py:1718)Īt full_dispatch_request (/env/lib/python3.7/site-packages/flask/app.py:1815) If I disable the Blueprint, the app runs on GAE again. ![]() However, upon running on Google App Engine, templates in the Blueprint cannot be found. n(host='127.0.0.1', debug=DEBUG)Īll works perfectly when running locally. The Google App Engine app.yaml file has no entrypoint listed (so it should use the default, main:app). The blueprint has a base template I want to extend in multiple applications. Registered to a Flask application in a different module routes.py app = Flask(_name_) STATIC_BASE_DIR = os.path.join(LIBRARY_BASE_DIR, 'static') TEMPLATE_BASE_DIR = os.path.join(LIBRARY_BASE_DIR, 'templates') LIBRARY_BASE_DIR = os.path.dirname(os.path.abspath(_file_)) ![]() I have a Python module with a blueprint like so.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |