summaryrefslogtreecommitdiff
path: root/pgcommitfest
diff options
context:
space:
mode:
authorJelte Fennema-Nio2024-09-24 20:27:01 +0000
committerMagnus Hagander2024-09-24 20:27:01 +0000
commitf8fd32193560e0f4053873fe13df820b9dd79ff4 (patch)
treedaecbe1cce3782faca32682d9f4fb0f80a920416 /pgcommitfest
parent432a7cafe83e1ebe8ac1311d8ef0409ac6776a12 (diff)
Add a generic dev uwsgi script and update readme
Diffstat (limited to 'pgcommitfest')
-rw-r--r--pgcommitfest/local_settings_example.py19
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']