Fix authtoken views imports (#5818)

This commit is contained in:
Ryan P Kilby 2018-02-07 14:46:17 -05:00 committed by GitHub
parent c456b3c510
commit 1bc826e6fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):