Clean up imports

This commit is contained in:
2023-03-04 17:28:42 -05:00
parent 9c881d3bd9
commit 3d7528030a
8 changed files with 17 additions and 22 deletions

View File

@ -157,6 +157,7 @@ if TESTING:
DATABASES = {
"default": dj_database_url.config(default="sqlite:///testdb.sqlite3")
}
db_str = ""
if 'sqlite' in DATABASES['default']['ENGINE']:
db_str = f"Connected to sqlite@{DATABASES['default']['NAME']}"