Add reminder of what __file__.parent.parent evaluates to.

This commit is contained in:
voussoir 2021-10-31 15:10:54 -07:00
parent f0d302d4a5
commit 1f18713875
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -19,6 +19,8 @@ from . import sessions
# Flask init ####################################################################################### # Flask init #######################################################################################
# __file__ = .../etiquette_flask/backend/common.py
# root_dir = .../etiquette_flask
root_dir = pathclass.Path(__file__).parent.parent root_dir = pathclass.Path(__file__).parent.parent
TEMPLATE_DIR = root_dir.with_child('templates') TEMPLATE_DIR = root_dir.with_child('templates')