Skip to content

Commit

Permalink
mitigate false positive in Django Debug Toolbar #1159
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Jun 14, 2024
1 parent 2501bfd commit ebe958c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drf_spectacular/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def get(self, request, *args, **kwargs):
'settings': self._dump(spectacular_settings.SWAGGER_UI_SETTINGS),
'oauth2_config': self._dump(spectacular_settings.SWAGGER_UI_OAUTH2_CONFIG),
'template_name_js': self.template_name_js,
'script_url': None,
'csrf_header_name': self._get_csrf_header_name(),
'schema_auth_names': self._dump(self._get_schema_auth_names()),
},
Expand Down

0 comments on commit ebe958c

Please sign in to comment.