We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fd321 commit 07bf0e1Copy full SHA for 07bf0e1
pgcommitfest/local_settings_example.py
@@ -17,3 +17,8 @@
17
# Disables the PostgreSQL.ORG authentication.
18
# Use the default built-in Django authentication module.
19
AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
20
+
21
+# The only login page we have in development is the Django admin login page.
22
+# It's not great, because it won't redirect to the page you were trying to
23
+# access, but it's better than a HTTP 500 error.
24
+PGAUTH_REDIRECT = '/admin/login/'
0 commit comments