mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 18:47:04 +00:00
23 lines
1.1 KiB
Python
23 lines
1.1 KiB
Python
|
|
EXPOUSER = 'expo'
|
|
EXPOADMINUSER = 'expoadmin'
|
|
EXPOUSER_EMAIL = 'wookey@wookware.org'
|
|
EXPOADMINUSER_EMAIL = 'wookey@wookware.org'
|
|
from secret_credentials import *
|
|
|
|
EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote sever
|
|
#SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.mysql', # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
"OPTIONS": {
|
|
"charset": "utf8mb4", # To permit emojis in logbook entries and elsewhere
|
|
}, 'NAME' : 'troggle', # Or path to database file if using sqlite3.
|
|
'USER' : 'expo', # Not used with sqlite3.
|
|
'PASSWORD' : MARIADB_SERVER_PASSWORD, # Not used with sqlite3.
|
|
'HOST' : '', # Set to empty string for localhost. Not used with sqlite3.
|
|
'PORT' : '', # Set to empty string for default. Not used with sqlite3.
|
|
}
|
|
}
|