mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
38a88634ce
Allow docker to reuse previous pip layer Fixed newlines
27 lines
587 B
Python
Executable file
27 lines
587 B
Python
Executable file
# Docker settings
|
|
from .settings import * # NOQA
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
|
'NAME': 'pokeapi',
|
|
'USER': 'ash',
|
|
'PASSWORD': 'pokemon',
|
|
'HOST': 'localhost',
|
|
'PORT': '',
|
|
}
|
|
}
|
|
|
|
|
|
CACHES = {
|
|
"default": {
|
|
"BACKEND": "django_redis.cache.RedisCache",
|
|
"LOCATION": "redis://127.0.0.1:6379/1",
|
|
"OPTIONS": {
|
|
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
|
}
|
|
}
|
|
}
|
|
|
|
DEBUG = True
|
|
TASTYPIE_FULL_DEBUG = True
|