From 1dd7cfe043600c09cc9764a291706f968011f712 Mon Sep 17 00:00:00 2001 From: John Carter Date: Wed, 8 Aug 2018 02:30:13 +1200 Subject: [PATCH] Spelling fixes (#180) --- docs/changelog.rst | 2 +- src/drf_yasg/inspectors/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 8c8e7f7..30cc57b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -24,7 +24,7 @@ Changelog - **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 - 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 ``ReDoc`` to version 2.0.0-alpha.25 - **FIXED:** fixed wrong handling of duplicate urls in urlconf (:pr:`155`) diff --git a/src/drf_yasg/inspectors/__init__.py b/src/drf_yasg/inspectors/__init__.py index d141b2d..3267b47 100644 --- a/src/drf_yasg/inspectors/__init__.py +++ b/src/drf_yasg/inspectors/__init__.py @@ -10,7 +10,7 @@ from .field import ( from .query import CoreAPICompatInspector, DjangoRestResponsePagination 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.filter_inspectors = swagger_settings.DEFAULT_FILTER_INSPECTORS ViewInspector.paginator_inspectors = swagger_settings.DEFAULT_PAGINATOR_INSPECTORS