Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
rivrxsq committed Jan 11, 2025
1 parent d72b241 commit 59f5900
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cinema/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
path("genres/<int:pk>/", GenreDetail.as_view(), name="genre-detail"),
path("actors/", ActorList.as_view(), name="actor-list"),
path("actors/<int:pk>/", ActorDetail.as_view(), name="actor-detail"),
] + router.urls
] + router.urls
5 changes: 4 additions & 1 deletion cinema/views.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 59f5900

Please sign in to comment.