diff options
| author | Jelte Fennema-Nio | 2024-09-24 20:27:01 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2024-09-24 20:27:01 +0000 |
| commit | f8fd32193560e0f4053873fe13df820b9dd79ff4 (patch) | |
| tree | daecbe1cce3782faca32682d9f4fb0f80a920416 /pgcommitfest | |
| parent | 432a7cafe83e1ebe8ac1311d8ef0409ac6776a12 (diff) | |
Add a generic dev uwsgi script and update readme
Diffstat (limited to 'pgcommitfest')
| -rw-r--r-- | pgcommitfest/local_settings_example.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pgcommitfest/local_settings_example.py b/pgcommitfest/local_settings_example.py new file mode 100644 index 0000000..51740ff --- /dev/null +++ b/pgcommitfest/local_settings_example.py @@ -0,0 +1,19 @@ +# Enable more debugging information +DEBUG = True +# Prevent logging to try to send emails to postgresql.org admins. +# Use the default Django logging settings instead. +LOGGING = None + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'pgcommitfest', + 'USER': 'postgres', + 'PASSWORD': 'postgres', + 'HOST': '0.0.0.0', + } +} + +# Disables the PostgreSQL.ORG authentication. +# Use the default built-in Django authentication module. +AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend'] |
