-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.py
More file actions
23 lines (14 loc) · 749 Bytes
/
dev.py
File metadata and controls
23 lines (14 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from tp_python_stripe_example.settings.base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
SECRET_KEY = os.environ.get("SECRET_KEY", "f4oyu6*ih*nujk_kz!^(d6hpvn3l=a1qrh(e$8x8*y372&^yw5")
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/
STATIC_URL = '/static/'
STRIPE_PUBLISHABLE = os.getenv('STRIPE_PUBLISHABLE', '<insert-your-publishable-stripe-key-here>')
# Testing Pays Configurations
# Use your Testing Pays API key here
STRIPE_SECRET = os.getenv('STRIPE_SECRET', 'insert-your-private-stripe-key-here')
# Set the base URL to Testing Pays API
STRIPE_BASE_URL = "https://api.testingpays.com/{0}/stripe".format(STRIPE_SECRET)