diff --git a/app/settings.py b/app/settings.py index b59f1ba..5ab993e 100644 --- a/app/settings.py +++ b/app/settings.py @@ -31,13 +31,13 @@ ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = [ + "core", "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", "django.contrib.messages", "django.contrib.staticfiles", - "core", "crispy_forms", "crispy_bulma", ] @@ -126,7 +126,9 @@ DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" AUTH_USER_MODEL = "core.User" -LOGIN_REDIRECT_URL = "/" +LOGIN_REDIRECT_URL = "home" +LOGOUT_REDIRECT_URL = "home" +LOGIN_URL = "/accounts/login/" # ALLOWED_PAYMENT_METHODS = ["bacs_debit", "card"] ALLOWED_PAYMENT_METHODS = ["card"] diff --git a/core/templates/index.html b/core/templates/index.html index 7460795..7f43b98 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -1,10 +1,12 @@ {% extends "base.html" %} {% block content %} -
{{ card }} hits
-{{ redacted }} redacted
- {% if exemption is not None %} -redaction overriden by superuser
- {% endif %} -{{ took }}ms
+{{ card }} hits
+{{ redacted }} redacted
+god mode
+{{ took }}ms
+