Skip to content

Need to add settings/dev.py as in order for migration to work (modified from the provided dev.sample.py) #529

@agbiotec

Description

@agbiotec

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),
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions