from polyaxon.utils import ROOT_DIR, config

LIST_TEMPLATE_CONTEXT_PROCESSORS = [
    'django.contrib.auth.context_processors.auth',
    'django.template.context_processors.debug',
    'django.template.context_processors.media',
    'django.template.context_processors.static',
    'django.template.context_processors.tz',
    'django.contrib.messages.context_processors.messages',
    'polyaxon.context_processors.versions',
    'polyaxon.context_processors.cluster',
    'apis.context_processors.sso_enabled',
]

JS_DEBUG = config.get_boolean('POLYAXON_JS_DEBUG')

if JS_DEBUG:
    def js_debug_processor(request):
        return {'js_debug': True}

    LIST_TEMPLATE_CONTEXT_PROCESSORS += ('polyaxon.settings.js_debug_processor',)

@@ -1,49 +1,4 @@
-from polyaxon.utils import ROOT_DIR, config%0A%0A
 LIST
@@ -90,600 +90,88 @@
    '
-django.template.context_processors.debug',%0A    'django.template.context_processors.media',%0A    'django.template.context_processors.static',%0A    'django.template.context_processors.tz',%0A    'django.contrib.messages.context_processors.messages',%0A    'polyaxon.context_processors.versions',%0A    'polyaxon.context_processors.cluster',%0A    'apis.context_processors.sso_enabled',%0A%5D%0A%0AJS_DEBUG = config.get_boolean('POLYAXON_JS_DEBUG')%0A%0Aif JS_DEBUG:%0A    def js_debug_processor(request):%0A        return %7B'js_debug': True%7D%0A%0A    LIST_TEMPLATE_CONTEXT_PROCESSORS += ('polyaxon.settings.js_debug_processor',)
+polyaxon.context_processors.versions',%0A    'polyaxon.context_processors.cluster',%0A%5D
 %0A

Update context_processors