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