From 473dfd1b43c8b728fdf49d3441510915b5530f12 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 2 Aug 2022 22:22:22 +0100 Subject: [PATCH] Add about page --- app/urls.py | 3 ++- core/templates/base.html | 5 ++++- core/views/__init__.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/urls.py b/app/urls.py index ab848e3..db7abd8 100644 --- a/app/urls.py +++ b/app/urls.py @@ -21,7 +21,7 @@ from django.views.generic import TemplateView # Threshold API stuff from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers -from core.views import Billing, Cancel, Home, Order, Portal, Signup +from core.views import Billing, Cancel, About, Order, Portal, Signup from core.views.callbacks import Callback from core.views.manage.threshold.irc import ( ThresholdIRCActions, @@ -62,6 +62,7 @@ from core.views.ui.insights import ( urlpatterns = [ path("", Drilldown.as_view(), name="home"), + path("about/", About.as_view(), name="about"), path("callback", Callback.as_view(), name="callback"), path("billing/", Billing.as_view(), name="billing"), path("order//", Order.as_view(), name="order"), diff --git a/core/templates/base.html b/core/templates/base.html index 0a5e2f4..40012aa 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -89,7 +89,10 @@