Skip to content

Commit

Permalink
Add settings in context processors (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy authored Mar 4, 2020
1 parent 72f7ab4 commit 572442a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ def configuration_context(request): # pylint: disable=unused-argument
'platform_name': configuration_helpers.get_value('platform_name', settings.PLATFORM_NAME),
'current_url': urlquote_plus(request.build_absolute_uri(request.path)),
'current_site_url': urlquote_plus(request.build_absolute_uri('/')),
'settings': settings,
'zendesk_widget': settings.MKTG_URLS.get('ZENDESK-WIDGET'),
}

0 comments on commit 572442a

Please sign in to comment.