Finished data upload

Refactored to move security package inside common
Moved data folder to process root.
This commit is contained in:
2021-11-28 02:30:46 +00:00
parent 95abec2b4b
commit 08f2585def
14 changed files with 192 additions and 40 deletions

View File

@@ -9,7 +9,7 @@ from pymongo.errors import ConnectionFailure
from flask_wtf.csrf import CSRFProtect, CSRFError
from flask_mail import Mail
from security import check_keyfile_exists, generate_keyfile
from common.security import check_keyfile_exists, generate_keyfile
app = Flask(__name__)
app.config.from_object('config.DevelopmentConfig')
@@ -37,7 +37,7 @@ if __name__ == '__main__':
if not check_keyfile_exists():
generate_keyfile()
from common import cookie_consent
from common.blueprints import cookie_consent
from admin.views import views as admin_views
from admin.auth import auth as admin_auth