From 59f590077cc3aa36d1768358ecbd7ff2c418e49c Mon Sep 17 00:00:00 2001 From: rivrxsq Date: Sun, 12 Jan 2025 01:39:36 +0200 Subject: [PATCH] fix flake8 --- cinema/urls.py | 2 +- cinema/views.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cinema/urls.py b/cinema/urls.py index 32565466..f538cff1 100644 --- a/cinema/urls.py +++ b/cinema/urls.py @@ -16,4 +16,4 @@ path("genres//", GenreDetail.as_view(), name="genre-detail"), path("actors/", ActorList.as_view(), name="actor-list"), path("actors//", ActorDetail.as_view(), name="actor-detail"), -] + router.urls \ No newline at end of file +] + router.urls diff --git a/cinema/views.py b/cinema/views.py index 7de7065f..d8068dc5 100644 --- a/cinema/views.py +++ b/cinema/views.py @@ -1,5 +1,8 @@ from rest_framework import status, viewsets -from rest_framework.generics import ListCreateAPIView, RetrieveUpdateDestroyAPIView +from rest_framework.generics import ( + ListCreateAPIView, + RetrieveUpdateDestroyAPIView +) from rest_framework.mixins import ( ListModelMixin, CreateModelMixin,