Skip to content
Snippets Groups Projects
Commit c2805be2 authored by Elias Sagmo Larsen's avatar Elias Sagmo Larsen
Browse files

pylint/urls_unusedimports

parent 526224f8
No related branches found
No related tags found
No related merge requests found
Pipeline #127917 passed
"""Contains views for the workouts application. These are mostly class-based views.
"""
from rest_framework.response import Response
from rest_framework import generics, mixins
from rest_framework import permissions
from rest_framework.decorators import api_view
from rest_framework.pagination import PageNumberPagination
from rest_framework.reverse import reverse
from .models import Facility
from rest_framework.response import Response
from .serializers import FacilityGetSerializer, FacilityPostSerializer
......@@ -20,7 +20,8 @@ def api_root(request, format=None):
class FacilityGeneration(
mixins.CreateModelMixin, generics.GenericAPIView
mixins.CreateModelMixin,
generics.GenericAPIView
):
"""Class defining the web response for creation of a facility
......@@ -42,7 +43,9 @@ class StandardResultsSetPagination(PageNumberPagination):
class FacilityList(
mixins.ListModelMixin, mixins.CreateModelMixin, generics.GenericAPIView
mixins.ListModelMixin,
mixins.CreateModelMixin,
generics.GenericAPIView
):
"""Class defining the web response for retrieval of multiple facilities
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment