Skip to content

Commit

Permalink
Merge pull request #1610 from st1020/feat/disable-drf-spectacular-log
Browse files Browse the repository at this point in the history
feat: disable drf spectacular log
  • Loading branch information
st1020 authored Jul 13, 2023
2 parents 88a87a9 + fa55646 commit f99da47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dongtai_conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ def safe_execute(default, exception, function, *args):
),
'COMPONENT_SPLIT_REQUEST':
True,
'DISABLE_ERRORS_AND_WARNINGS':
True,
}
REST_FRAMEWORK['DEFAULT_SCHEMA_CLASS'] = 'drf_spectacular.openapi.AutoSchema'

Expand Down

0 comments on commit f99da47

Please sign in to comment.