{# Extends the upstream drf_spectacular template of the same name. The body block copies upstream to add CSP nonces: re-sync it when drf-spectacular is upgraded. #} {% extends 'drf_spectacular/swagger_ui.html' %} {% block body %}
{% if script_url %} {% else %} {% endif %} {% endblock body %}