Spelling fixes (#180)
parent
33eb9d381c
commit
1dd7cfe043
|
|
@ -24,7 +24,7 @@ Changelog
|
||||||
|
|
||||||
- **IMPROVED:** added a ``swagger_fake_view`` marker to more easily detect mock views in view methods;
|
- **IMPROVED:** added a ``swagger_fake_view`` marker to more easily detect mock views in view methods;
|
||||||
``getattr(self, 'swagger_fake_view', False)`` inside a view method like ``get_serializer_class`` will tell you if the
|
``getattr(self, 'swagger_fake_view', False)`` inside a view method like ``get_serializer_class`` will tell you if the
|
||||||
view instnace is being used for swagger schema introspection (:issue:`154`)
|
view instance is being used for swagger schema introspection (:issue:`154`)
|
||||||
- **IMPROVED:** updated ``swagger-ui`` to version 3.17.1
|
- **IMPROVED:** updated ``swagger-ui`` to version 3.17.1
|
||||||
- **IMPROVED:** updated ``ReDoc`` to version 2.0.0-alpha.25
|
- **IMPROVED:** updated ``ReDoc`` to version 2.0.0-alpha.25
|
||||||
- **FIXED:** fixed wrong handling of duplicate urls in urlconf (:pr:`155`)
|
- **FIXED:** fixed wrong handling of duplicate urls in urlconf (:pr:`155`)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ from .field import (
|
||||||
from .query import CoreAPICompatInspector, DjangoRestResponsePagination
|
from .query import CoreAPICompatInspector, DjangoRestResponsePagination
|
||||||
from .view import SwaggerAutoSchema
|
from .view import SwaggerAutoSchema
|
||||||
|
|
||||||
# these settings must be accesed only after definig/importing all the classes in this module to avoid ImportErrors
|
# these settings must be accessed only after defining/importing all the classes in this module to avoid ImportErrors
|
||||||
ViewInspector.field_inspectors = swagger_settings.DEFAULT_FIELD_INSPECTORS
|
ViewInspector.field_inspectors = swagger_settings.DEFAULT_FIELD_INSPECTORS
|
||||||
ViewInspector.filter_inspectors = swagger_settings.DEFAULT_FILTER_INSPECTORS
|
ViewInspector.filter_inspectors = swagger_settings.DEFAULT_FILTER_INSPECTORS
|
||||||
ViewInspector.paginator_inspectors = swagger_settings.DEFAULT_PAGINATOR_INSPECTORS
|
ViewInspector.paginator_inspectors = swagger_settings.DEFAULT_PAGINATOR_INSPECTORS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue