Skip to content

Commit e62a61a

Browse files
committed
print localized DB output
1 parent af672fc commit e62a61a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/mongodb_settings.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
PARSED_URI = parse_uri(os.getenv("MONGODB_URI")) if os.getenv("MONGODB_URI") else {}
77

8-
if not PARSED_URI:
9-
print("MONGODB_URI not found; please check if environment variable set")
10-
118
DATABASES = {
129
"default": {
1310
**PARSED_URI,
@@ -20,6 +17,7 @@
2017
"NAME": "djangotests-other",
2118
},
2219
}
20+
print(DATABASES)
2321
DEFAULT_AUTO_FIELD = "django_mongodb_backend.fields.ObjectIdAutoField"
2422
PASSWORD_HASHERS = ("django.contrib.auth.hashers.MD5PasswordHasher",)
2523
SECRET_KEY = "django_tests_secret_key"

0 commit comments

Comments
 (0)