Commit 185eecd04a84a714f1e5beac1c8790ed5f9f9dd4

Authored by Alexandre Barbosa
1 parent aa30e99c

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)}
... ...