Skip to content
Snippets Groups Projects
Commit 83d4909c authored by Nico Vermaas's avatar Nico Vermaas
Browse files

added connection to atdb database on sdc-dev

parent 3b1a5906
Branches
No related tags found
1 merge request!337Upgrade to django 5
Pipeline #69048 passed
from atdb.settings.base import *
import os
# SECURITY WARNING: don't run with debug turned on in production!
DEV = True
DEBUG = True
ALLOWED_HOSTS = ["*"]
CORS_ORIGIN_ALLOW_ALL = True
# needs to be inside the ASTRON network or connected through VPN
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'dbadmin',
'PASSWORD': 'dbadmin123',
'NAME': 'atdbldv',
'HOST': 'sdc-dev.astron.nl',
'PORT': '10000',
},
}
# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = []
LOGIN_REDIRECT_URL = "http://localhost:8000/atdb"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment