From 84d84ba9aae2af95b9637ec81e55e097886f2cc6 Mon Sep 17 00:00:00 2001 From: Anna Pobedonostseva Date: Sat, 23 Sep 2023 20:07:38 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BD=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D1=82=D0=B5=D1=81=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/recipes/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/recipes/models.py b/backend/recipes/models.py index 09594eb..ff334ab 100644 --- a/backend/recipes/models.py +++ b/backend/recipes/models.py @@ -72,8 +72,7 @@ class Recipe(models.Model): cooking_time = models.PositiveSmallIntegerField( verbose_name='Время приготовления', default=1, - validators=[validators.MinValueValidator(1)] - ) + validators=[validators.MinValueValidator(1)]) pub_date = models.DateTimeField( verbose_name='Дата публикации', auto_now_add=True