Commit a94be9b3 authored by Michal Čihař's avatar Michal Čihař

Export information about enabled hooks

parent 292a74c7
......@@ -50,6 +50,7 @@ def weblate_context(request):
'current_url': request.get_full_path(),
'mt_enabled': appsettings.MACHINE_TRANSLATION_ENABLED,
'hooks_enabled': appsettings.ENABLE_HOOKS,
'registration_open': getattr(settings, 'REGISTRATION_OPEN', True),
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment