diff --git a/colab/accounts/context_processors.py b/colab/accounts/context_processors.py new file mode 100644 index 0000000..af5b79f --- /dev/null +++ b/colab/accounts/context_processors.py @@ -0,0 +1,7 @@ +from django.conf import settings + + +def social_network_enabled(request): + return {'SOCIAL_NETWORK_ENABLED': getattr(settings, + 'SOCIAL_NETWORK_ENABLED', + False)} -- libgit2 0.21.2