From 2954b4405d49ef0ca864201dcab442f2c6450a67 Mon Sep 17 00:00:00 2001 From: Viacheslav417865 Date: Mon, 2 Dec 2024 20:45:10 +0200 Subject: [PATCH] Fix import error in views.py and update requirements.txt --- cinema/views.py | 2 +- requirements.txt | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/cinema/views.py b/cinema/views.py index 8dbc788d..c85c0bb2 100644 --- a/cinema/views.py +++ b/cinema/views.py @@ -1,6 +1,6 @@ from typing import Type from django.db.models import QuerySet -import serializers +from rest_framework import serializers from rest_framework import viewsets from cinema.models import ( Movie, diff --git a/requirements.txt b/requirements.txt index 108897e9..cbbd9886 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,16 @@ djangorestframework==3.13.1 flake8==5.0.4 flake8-quotes==3.3.1 flake8-variables-names==0.0.5 -pep8-naming==0.13.2 \ No newline at end of file +pep8-naming==0.13.2 +pip~=24.3.1 +pytz~=2024.2 +pytest~=8.3.4 +sqlparse~=0.5.2 +asgiref~=3.8.1 +colorama~=0.4.6 +serializers~=0.2.4 +pyflakes~=2.5.0 +pycodestyle~=2.9.1 +pluggy~=1.5.0 +iniconfig~=2.0.0 +packaging~=24.2 \ No newline at end of file