mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-29 17:39:48 +03:00
Fixed Lint errors
This commit is contained in:
parent
d93e3b9419
commit
6d790c7bea
|
@ -8,12 +8,12 @@ used to annotate methods on viewsets that should be included by routers.
|
||||||
"""
|
"""
|
||||||
import types
|
import types
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
from django.db.models import QuerySet
|
|
||||||
|
|
||||||
|
from django.db.models import QuerySet
|
||||||
from django.forms.utils import pretty_name
|
from django.forms.utils import pretty_name
|
||||||
|
|
||||||
from rest_framework.views import APIView
|
|
||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
|
from rest_framework.views import APIView
|
||||||
|
|
||||||
|
|
||||||
def api_view(http_method_names=None):
|
def api_view(http_method_names=None):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user