Commit 9f36ac94a52c451b6db16e39f0cfcb2cc9f6b5fc

Authored by Alexandre Barbosa
1 parent b5033baa
Exists in sisp_colab_config

Context_processor to sisp URL

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
src/colab-spb-plugin/src/colab_spb/context_processors.py 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +from django.conf import settings
  2 +
  3 +
  4 +def sisp_url(request):
  5 + return {'SISP_URL': getattr(settings, 'SISP_URL', False)}
... ...