{% extends "drf_spectacular/swagger_ui.html" %} {% load static %} {% comment %} drf-spectacular's page with no inline code, so a strict Content Security Policy admits it (#566): its page rules come from a stylesheet, and SwaggerUIView (the split view) loads the init script from its own URL. {% endcomment %} {% block head %} {{ title|default:"Swagger" }} {% if favicon_href %}{% endif %} {% endblock head %}