mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-30 10:23:16 +03:00
rewrite import
This commit is contained in:
parent
d3f8ae4a5d
commit
573240e745
|
@ -11,7 +11,10 @@ from rest_framework.settings import api_settings
|
||||||
|
|
||||||
from .generators import BaseSchemaGenerator
|
from .generators import BaseSchemaGenerator
|
||||||
from .inspectors import ViewInspector
|
from .inspectors import ViewInspector
|
||||||
from .utils import get_pk_description, is_list_view, ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS
|
from .utils import (
|
||||||
|
ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS, get_pk_description,
|
||||||
|
is_list_view
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def common_path(paths):
|
def common_path(paths):
|
||||||
|
|
|
@ -18,7 +18,10 @@ from rest_framework.settings import api_settings
|
||||||
|
|
||||||
from .generators import BaseSchemaGenerator
|
from .generators import BaseSchemaGenerator
|
||||||
from .inspectors import ViewInspector
|
from .inspectors import ViewInspector
|
||||||
from .utils import get_pk_description, is_list_view, ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS
|
from .utils import (
|
||||||
|
ALLOW_FILTER_ACTIONS, ALLOW_FILTER_METHODS, get_pk_description,
|
||||||
|
is_list_view
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class SchemaGenerator(BaseSchemaGenerator):
|
class SchemaGenerator(BaseSchemaGenerator):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user