Compare commits

...

2 Commits

Author SHA1 Message Date
375522864a Quote password in DB_URI
All checks were successful
release / docker (push) Successful in 51s
2025-11-01 19:27:56 +03:00
ea60b802ec Add ipython to dev dependencies 2025-11-01 19:27:34 +03:00
3 changed files with 783 additions and 592 deletions

View File

@ -19,3 +19,8 @@ dependencies = [
"sentry-sdk>=2.43.0",
"whitenoise>=6.11.0",
]
[dependency-groups]
dev = [
"ipython>=9.6.0",
]

1367
uv.lock

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/5.2/ref/settings/
import os
from pathlib import Path
from urllib.parse import quote
import sentry_sdk
@ -90,7 +91,7 @@ DATABASES = {
},
}
DB_URI = f"postgres://{DATABASES['default']['USER']}:{DATABASES['default']['PASSWORD']}@{DATABASES['default']['HOST']}:{DATABASES['default']['PORT']}/{DATABASES['default']['NAME']}?sslmode=disable"
DB_URI = f"postgres://{DATABASES['default']['USER']}:{quote(DATABASES['default']['PASSWORD'])}@{DATABASES['default']['HOST']}:{DATABASES['default']['PORT']}/{DATABASES['default']['NAME']}?sslmode=disable"
# Password validation