Private
Public Access
1
0
Files
rowsandall/rowers/context_processors.py
Sander Roosendaal 3286630931 adding braintree info
2018-12-21 15:04:35 +01:00

7 lines
311 B
Python

from django.conf import settings # import the settings file
def braintree_merchant(request):
# return the value you want as a dictionnary. you may add multiple values in there.
# return {'BRAINTREE_MERCHANT_ID': settings.BRAINTREE_MERCHANT_ID}
return {'BRAINTREE_MERCHANT_ID': 'jytq7yxsm66qqdzb' }