mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Fix authtoken views imports (#5818)
This commit is contained in:
parent
c456b3c510
commit
1bc826e6fd
|
@ -1,11 +1,11 @@
|
||||||
|
import coreapi
|
||||||
|
import coreschema
|
||||||
from rest_framework import parsers, renderers
|
from rest_framework import parsers, renderers
|
||||||
from rest_framework.authtoken.models import Token
|
from rest_framework.authtoken.models import Token
|
||||||
from rest_framework.authtoken.serializers import AuthTokenSerializer
|
from rest_framework.authtoken.serializers import AuthTokenSerializer
|
||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
from rest_framework.views import APIView
|
|
||||||
from rest_framework.schemas import ManualSchema
|
from rest_framework.schemas import ManualSchema
|
||||||
import coreapi
|
from rest_framework.views import APIView
|
||||||
import coreschema
|
|
||||||
|
|
||||||
|
|
||||||
class ObtainAuthToken(APIView):
|
class ObtainAuthToken(APIView):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user