From 20d513bef1458e2a78b19ed869146911da82d2d6 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 13:52:03 +0100 Subject: [PATCH] Update config example --- app/local_settings.example.py | 10 ++++++++++ app/urls.py | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/app/local_settings.example.py b/app/local_settings.example.py index 42ba9fa..62b4f0d 100644 --- a/app/local_settings.example.py +++ b/app/local_settings.example.py @@ -44,3 +44,13 @@ STRIPE_PUBLIC_API_KEY_PROD = "pk_prod_xxx" STRIPE_ENDPOINT_SECRET = "" STATIC_ROOT = "" SECRET_KEY = "a" + +STRIPE_ADMIN_COUPON = "promo" + +# Threshold +THRESHOLD_ENDPOINT = "http://127.0.0.1:13869" +THRESHOLD_API_KEY = "name" +THRESHOLD_API_TOKEN = "token" +THRESHOLD_API_COUNTER = "counter" + +DEBUG = True \ No newline at end of file diff --git a/app/urls.py b/app/urls.py index 18ddfec..db449f7 100644 --- a/app/urls.py +++ b/app/urls.py @@ -30,7 +30,11 @@ from core.views.callbacks import Callback # Dynamic elements from core.views.dynamic.drilldown import DrilldownSearch, ThresholdInfoModal -from core.views.dynamic.insights import InsightsInfoModal, InsightsSearch +from core.views.dynamic.insights import ( + InsightsChannels, + InsightsInfoModal, + InsightsSearch, +) urlpatterns = [ path("", Home.as_view(), name="home"), @@ -54,6 +58,7 @@ urlpatterns = [ path("ui/insights/", Insights.as_view(), name="insights"), path("parts/search/drilldown/", DrilldownSearch.as_view(), name="search_drilldown"), path("parts/search/insights/", InsightsSearch.as_view(), name="search_insights"), + path("parts/channels/insights/", InsightsChannels.as_view(), name="chans_insights"), path("modal/drilldown/", ThresholdInfoModal.as_view(), name="modal_drilldown"), path("modal/insights/", InsightsInfoModal.as_view(), name="modal_insights"), path("api/chans/", ThresholdChans.as_view(), name="chans"),