# 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'] # The only login page we have in development is the Django admin login page. # It's not great, because it won't redirect to the page you were trying to # access, but it's better than a HTTP 500 error. PGAUTH_REDIRECT = '/admin/login/'