Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fun-apps / fun_api / views.py
Size: Mime:
from rest_framework.authtoken.views import ObtainAuthToken

from .serializers import FunAuthTokenSerializer


class GetToken(ObtainAuthToken):
    serializer_class = FunAuthTokenSerializer


get_token = GetToken.as_view()