diff options
| author | 2021-09-07 18:30:33 +0100 | |
|---|---|---|
| committer | 2021-09-07 18:30:33 +0100 | |
| commit | 71252e7d40fed7dcee26ef45a2eb1f8f242b83e9 (patch) | |
| tree | b82c5848204e24ceb67ce67ccd4460d320f2a0a6 | |
| parent | Correctly attribute SO author for SQL function (diff) | |
Add print statement to log when metricity is being initialised
| -rwxr-xr-x | manage.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |