Skip to content

Commit

Permalink
финльный тест
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraHr committed Sep 23, 2023
1 parent 2fb4b7d commit 84d84ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/recipes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84d84ba

Please sign in to comment.