Commit 922635204af49697d93a30ba8a370ba2a9113df6

Authored by Carlos Coêlho
1 parent 5cc00cd8

Added missing context processor

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
colab/accounts/context_processors.py 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +from django.conf import settings
  2 +
  3 +
  4 +def social_network_enabled(request):
  5 + return {'SOCIAL_NETWORK_ENABLED': getattr(settings,
  6 + 'SOCIAL_NETWORK_ENABLED',
  7 + False)}
... ...