aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-09-07 18:30:33 +0100
committerGravatar Chris Lovering <[email protected]>2021-09-07 18:30:33 +0100
commit71252e7d40fed7dcee26ef45a2eb1f8f242b83e9 (patch)
treeb82c5848204e24ceb67ce67ccd4460d320f2a0a6 /manage.py
parentCorrectly attribute SO author for SQL function (diff)
Add print statement to log when metricity is being initialised
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/manage.py b/manage.py
index a8895126..1e613e93 100755
--- a/manage.py
+++ b/manage.py
@@ -153,6 +153,8 @@ class SiteManager:
import psycopg2
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT
+ print("Initialising metricity.")
+
db_url_parts = SiteManager.parse_db_url(os.environ["DATABASE_URL"])
conn = psycopg2.connect(
host=db_url_parts.hostname,