You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
xmrauctions/xmrauctions/context_processors.py

15 lines
493 B
Python

from django.conf import settings
def inject_site_meta(request):
return {
'site_meta': {
'debug': settings.DEBUG,
'name': settings.SITE_NAME,
'escrow_period': settings.ESCROW_PERIOD_DAYS,
'tip_address': settings.TIP_WALLET_ADDRESS,
'platform_address': settings.PLATFORM_WALLET_ADDRESS,
'block_confirmations': settings.BLOCK_CONFIRMATIONS_RCV,
'social_media': settings.SOCIAL_MEDIA
}
}