adding braintree info
This commit is contained in:
6
rowers/context_processors.py
Normal file
6
rowers/context_processors.py
Normal file
@@ -0,0 +1,6 @@
|
||||
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' }
|
||||
Reference in New Issue
Block a user