Skip to content

Commit

Permalink
chore: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Mar 11, 2024
1 parent b1bda33 commit 696b7d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/ypovoli/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
https://docs.djangoproject.com/en/5.0/ref/settings/
"""

import os
from datetime import timedelta
from os import environ
from pathlib import Path

# Build paths inside the project like this: BASE_DIR / 'subdir'.
Expand Down Expand Up @@ -140,9 +140,9 @@
}

REDIS_CUSTOM = {
"host": os.environ.get("REDIS_IP", "localhost"),
"port": os.environ.get("REDIS_PORT", 6379),
"password": os.environ.get("REDIS_PASSWORD", ""),
"host": environ.get("REDIS_IP", "localhost"),
"port": environ.get("REDIS_PORT", 6379),
"password": environ.get("REDIS_PASSWORD", ""),
"db_django": 0,
"db_celery": 1,
}
Expand Down

0 comments on commit 696b7d3

Please sign in to comment.