mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 17:09:59 +03:00
Fix imports ordering
This commit is contained in:
parent
0bceaf1943
commit
9022fe3218
|
@ -23,8 +23,8 @@ Other access should target the submodules directly
|
||||||
from rest_framework.settings import api_settings
|
from rest_framework.settings import api_settings
|
||||||
|
|
||||||
from . import coreapi, openapi
|
from . import coreapi, openapi
|
||||||
from .inspectors import DefaultSchema # noqa
|
|
||||||
from .coreapi import AutoSchema, ManualSchema, SchemaGenerator # noqa
|
from .coreapi import AutoSchema, ManualSchema, SchemaGenerator # noqa
|
||||||
|
from .inspectors import DefaultSchema # noqa
|
||||||
|
|
||||||
|
|
||||||
def get_schema_view(
|
def get_schema_view(
|
||||||
|
|
|
@ -24,8 +24,8 @@ from rest_framework.utils import formatting
|
||||||
from rest_framework.views import APIView
|
from rest_framework.views import APIView
|
||||||
from rest_framework.viewsets import GenericViewSet, ModelViewSet
|
from rest_framework.viewsets import GenericViewSet, ModelViewSet
|
||||||
|
|
||||||
from . import views
|
|
||||||
from ..models import BasicModel, ForeignKeySource, ManyToManySource
|
from ..models import BasicModel, ForeignKeySource, ManyToManySource
|
||||||
|
from . import views
|
||||||
|
|
||||||
factory = APIRequestFactory()
|
factory = APIRequestFactory()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user