Commit
922635204af49697d93a30ba8a370ba2a9113df6
Exists in
master
and in
39 other branches
1.12.x, add_requests_as_dep, celery_service, change-passwd-signal, check-port, colab-signals, colab-vcard, colab_search, colab_tag, colab_tag_merge, community_association, detach_super_archives, fix-dashboard, fix-message-preview, fix_app_label, fix_cache_count_spb, fix_header, fixed_gitlab_import, go_to_profile_panel, header_footer, layout-fix, mobile_user_scalable, move_out_plugins, paginate-threads, profile_integration, refactor-data-import, remove-gitlab-plugin, removing_namespace, search_block, search_filters, spb-release/3.0, split_screen, stable, startplugin, timestamp_plugins, translation_review, user_regex, validate-passwd, workin_whoosh_temp
Added missing context processor
| @@ -0,0 +1,7 @@ |
| @@ -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)} |