Update config example

This commit is contained in:
Mark Veidemanis 2022-07-21 13:52:03 +01:00
parent 423d363f9f
commit 20d513bef1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 16 additions and 1 deletions

View File

@ -44,3 +44,13 @@ STRIPE_PUBLIC_API_KEY_PROD = "pk_prod_xxx"
STRIPE_ENDPOINT_SECRET = "" STRIPE_ENDPOINT_SECRET = ""
STATIC_ROOT = "" STATIC_ROOT = ""
SECRET_KEY = "a" 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

View File

@ -30,7 +30,11 @@ from core.views.callbacks import Callback
# Dynamic elements # Dynamic elements
from core.views.dynamic.drilldown import DrilldownSearch, ThresholdInfoModal 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 = [ urlpatterns = [
path("", Home.as_view(), name="home"), path("", Home.as_view(), name="home"),
@ -54,6 +58,7 @@ urlpatterns = [
path("ui/insights/", Insights.as_view(), name="insights"), path("ui/insights/", Insights.as_view(), name="insights"),
path("parts/search/drilldown/", DrilldownSearch.as_view(), name="search_drilldown"), path("parts/search/drilldown/", DrilldownSearch.as_view(), name="search_drilldown"),
path("parts/search/insights/", InsightsSearch.as_view(), name="search_insights"), 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/drilldown/", ThresholdInfoModal.as_view(), name="modal_drilldown"),
path("modal/insights/", InsightsInfoModal.as_view(), name="modal_insights"), path("modal/insights/", InsightsInfoModal.as_view(), name="modal_insights"),
path("api/chans/", ThresholdChans.as_view(), name="chans"), path("api/chans/", ThresholdChans.as_view(), name="chans"),