Skip to content
Snippets Groups Projects
Verified Commit 46ff9bd6 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Use PostgreSQL.

parent c0103747
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='ticdesk',
version='0.10',
version='0.11.dev0',
packages=find_packages(),
include_package_data=True,
author='Teckids e.V.',
......@@ -24,6 +24,7 @@ setup(
'pexpect',
'phonenumbers',
'Pillow',
'psycopg2',
'python-dateutil',
'python-pam'
],
......
......@@ -93,8 +93,16 @@ with open("/etc/teckids/ticdesk.conf") as f:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'db.teckids.org',
'NAME': 'ticdesk',
'PASSWORD': POSTGRES_PASSWORD,
'PORT': '5432',
'USER': 'ticdesk',
# 'OPTIONS': {
# 'sslmode': 'require',
# },
},
'ldap': {
'ENGINE': 'ldapdb.backends.ldap',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment