From 33ce7093cb4258ed53db79ce21d24245e1199217 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 5 Dec 2016 11:56:47 -0400 Subject: [PATCH] fix the base.py --- dynamicweb/settings/base.py | 7 ++++--- stripe_keys.sh | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 stripe_keys.sh diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index 7ba466dc..a12cce56 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -181,9 +181,8 @@ CMS_TEMPLATES = ( DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': 'app', - 'USER': 'app', - 'HOST': 'db' + 'NAME': 'app' + } } @@ -474,3 +473,5 @@ else: ANONYMOUS_USER_NAME = 'anonymous@ungleich.ch' GUARDIAN_GET_INIT_ANONYMOUS_USER = 'membership.models.get_anonymous_user_instance' +STRIPE_API_PRIVATE_KEY='sk_test_dqAmbKAij12QCGfkYZ3poGt2' +STRIPE_API_PUBLIC_KEY='pk_test_QqBZ50Am8KOxaAlOxbcm9Psl' diff --git a/stripe_keys.sh b/stripe_keys.sh new file mode 100644 index 00000000..6ec79ff6 --- /dev/null +++ b/stripe_keys.sh @@ -0,0 +1,2 @@ +export STRIPE_API_PRIVATE_KEY='sk_test_dqAmbKAij12QCGfkYZ3poGt2' +export STRIPE_API_PUBLIC_KEY='pk_test_QqBZ50Am8KOxaAlOxbcm9Psl' \ No newline at end of file