From b97fcfc1153e37682b19981e88e538d9b0a784fc Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 29 May 2016 10:55:55 +0200 Subject: [PATCH] add coinify credentials to settings --- bornhack/settings/base.py | 5 ++++- bornhack/settings/development.py | 2 -- bornhack/settings/env.dist | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bornhack/settings/base.py b/bornhack/settings/base.py index cc81d94d..3832ec40 100644 --- a/bornhack/settings/base.py +++ b/bornhack/settings/base.py @@ -99,4 +99,7 @@ BOOTSTRAP3 = { EPAY_MERCHANT_NUMBER = env('EPAY_MERCHANT_NUMBER') EPAY_MD5_SECRET = env('EPAY_MD5_SECRET') -TICKET_CATEGORY_ID = env('TICKET_CATEGORY_ID') \ No newline at end of file +TICKET_CATEGORY_ID = env('TICKET_CATEGORY_ID') + +COINIFY_API_KEY = env('COINIFY_API_KEY') +COINIFY_API_SECRET = env('COINIFY_API_SECRET') diff --git a/bornhack/settings/development.py b/bornhack/settings/development.py index aad4a1b9..f0dc71bc 100644 --- a/bornhack/settings/development.py +++ b/bornhack/settings/development.py @@ -18,5 +18,3 @@ DATABASES = { EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' LETTERHEAD_PDF_PATH = os.path.join(local_dir('static_src'), 'pdf', 'bornhack_2016_test_letterhead.pdf') -COINIFY_API_KEY = '{{ coinify_api_key }}' -COINIFY_API_SECRET = '{{ coinify_api_secret }}' diff --git a/bornhack/settings/env.dist b/bornhack/settings/env.dist index a3bc5d31..14911928 100644 --- a/bornhack/settings/env.dist +++ b/bornhack/settings/env.dist @@ -9,4 +9,6 @@ EMAIL_USE_TLS=True EMAIL_FROM='noreply@example.com' EPAY_MERCHANT_NUMBER=something EPAY_MD5_SECRET=something -TICKET_CATEGORY_ID='' \ No newline at end of file +TICKET_CATEGORY_ID='' +COINIFY_API_KEY = '' +COINIFY_API_SECRET = ''