aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/settings/base.py5
-rw-r--r--config/urls.py4
2 files changed, 7 insertions, 2 deletions
diff --git a/config/settings/base.py b/config/settings/base.py
index 0d4ef5f..0324974 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -80,9 +80,14 @@ THIRD_PARTY_APPS = [
"django_celery_beat",
]
+STRIPE_SECRET_KEY = env("STRIPE_SECRET_KEY")
+STRIPE_PUBLIC_KEY = env("STRIPE_PUBLIC_KEY")
+STRIPE_LIVE_MODE = False
+
LOCAL_APPS = [
"pyblackbird_cc.users",
"pyblackbird_cc.resources",
+ "pyblackbird_cc.payments",
# Your stuff: custom apps go here
]
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
diff --git a/config/urls.py b/config/urls.py
index 1dc7fcb..5a6eeeb 100644
--- a/config/urls.py
+++ b/config/urls.py
@@ -8,7 +8,7 @@ from django.urls import path
from django.views import defaults as default_views
from django.views.generic import TemplateView
-#import debug_toolbar
+# import debug_toolbar
admin.site.site_header = "Blackbird Admin Panel"
@@ -27,11 +27,11 @@ urlpatterns = [
path("accounts/", include("allauth.urls")),
# Your stuff: custom urls includes go here
path("resources/", include("pyblackbird_cc.resources.urls", namespace="resources")),
+ path("payments/", include("pyblackbird_cc.payments.urls", namespace="payments")),
# Media files
*static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT),
]
-
if settings.DEBUG:
# This allows the error pages to be debugged during development, just visit
# these url in browser to see how these error pages look like.