Skip to content

Commit

Permalink
Fix SCHEMA_PATH_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan committed Feb 23, 2023
1 parent eb0a201 commit e3be9e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/myimages/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,5 @@
'DESCRIPTION': 'Django Large Image Demo',
'CONTACT': {'email': '[email protected]'},
'LICENSE': {'name': 'Apache 2.0'},
'SCHEMA_PATH_PREFIX': r'/api',
}
4 changes: 4 additions & 0 deletions project/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ class ExampleMixin(ConfigMixin):

SPECTACULAR_SETTINGS = {
'TITLE': 'Django Large Image',
'DESCRIPTION': 'Django Large Image Demo',
'CONTACT': {'email': '[email protected]'},
'LICENSE': {'name': 'Apache 2.0'},
'SCHEMA_PATH_PREFIX': r'/api',
}

@staticmethod
Expand Down

0 comments on commit e3be9e8

Please sign in to comment.