From 83cd4b7cd203003f828869ed9b3bca9066abd9a4 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 1 Oct 2020 19:43:06 -0700 Subject: [PATCH] Add init_photodb to prod. --- frontends/etiquette_flask/etiquette_flask_prod.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontends/etiquette_flask/etiquette_flask_prod.py b/frontends/etiquette_flask/etiquette_flask_prod.py index 0116a21..9a23c74 100644 --- a/frontends/etiquette_flask/etiquette_flask_prod.py +++ b/frontends/etiquette_flask/etiquette_flask_prod.py @@ -11,3 +11,5 @@ import backend backend.site.wsgi_app = werkzeug.middleware.proxy_fix.ProxyFix(backend.site.wsgi_app) site = backend.site + +backend.common.init_photodb(create=False)