Commit 3a4a5d58 by smaeda-ks

Fix jinja2 syntax for remove unnecessary white spaces or line breaks

parent 411f0092
{% do cms_auth_config.update(EDXAPP_CMS_AUTH_EXTRA) %}
{% for key, value in cms_auth_config.iteritems() %}
{% if value == 'None' %}
{% for key, value in cms_auth_config.iteritems() -%}
{% if value == 'None' -%}
{% do cms_auth_config.update({key: None }) %}
{% endif %}
{% endfor %}
{%- endif %}
{%- endfor %}
{{ cms_auth_config | to_nice_json }}
{% do lms_auth_config.update(EDXAPP_LMS_AUTH_EXTRA) %}
{% for key, value in lms_auth_config.iteritems() %}
{% if value == 'None' %}
{% for key, value in lms_auth_config.iteritems() -%}
{% if value == 'None' -%}
{% do lms_auth_config.update({key: None }) %}
{% endif %}
{% endfor %}
{%- endif %}
{%- endfor %}
{{ lms_auth_config | to_nice_json }}
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