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