web/views.py @@ -656,7 +656,7 @@ file_path = gif_dir / file_name # Сохраняем файл content = await file.read() content = file.file.read() with open(file_path, "wb") as f: f.write(content)