Skip to content

Commit

Permalink
add auth code to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
devgenix committed Feb 18, 2024
1 parent 9f5996b commit 7042915
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions UrlShortener/settings/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,16 @@

SECURE_SSL_REDIRECT = False

CACHES = {
'default': {
'BACKEND': 'django_redis.cache.RedisCache',
"LOCATION": config("CACHE_URL"), # in the format of redis://:password@host:port/db_number
"TIMEOUT": None
}
}
# CACHES = {
# 'default': {
# 'BACKEND': 'django_redis.cache.RedisCache',
# "LOCATION": config("CACHE_URL"), # in the format of redis://:password@host:port/db_number
# "TIMEOUT": None
# }
# }

CLOUDINARY_CLOUD_NAME = config('CLOUDINARY_CLOUD_NAME')
CLOUDINARY_API_KEY = config('CLOUDINARY_API_KEY')
CLOUDINARY_API_SECRET = config('CLOUDINARY_API_SECRET')
CLOUDINARY_API_SECRET = config('CLOUDINARY_API_SECRET')

AUTHENTICATION_CODES = config('AUTHENTICATION_CODES').split(',')

0 comments on commit 7042915

Please sign in to comment.