Need to add settings/dev.py as in order for migration to work (modified from the provided dev.sample.py) · Issue #529 · Cloud-CV/Fabrik · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from .common import * # noqa: ignore=F405
import os
Database
https://docs.djangoproject.com/en/1.9/ref/settings/#databases
DEBUG = True
SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 's9&vp1jq1yzr!1c_temg#v_)j-a)i5+@vbsekmi6pbjl4l1&u@'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': os.environ.get("POSTGRES_NAME", 'fabrik'),
'USER': os.environ.get("POSTGRES_USER", 'admin'),
'PASSWORD': os.environ.get("POSTGRES_PASSWORD", 'fabrik'),
'HOST': os.environ.get("POSTGRES_HOST", 'localhost'),
'PORT': os.environ.get("POSTGRES_PORT", 5432),
}
}
The text was updated successfully, but these errors were encountered: