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 b8b452d commit 438614f
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 @@ -71,8 +71,7 @@ class Recipe(models.Model):
)
cooking_time = models.PositiveSmallIntegerField(
verbose_name='Время приготовления',
validators=[validators.MinValueValidator(1)]
)
validators=[validators.MinValueValidator(1)])
pub_date = models.DateTimeField(
verbose_name='Дата публикации',
auto_now_add=True
Expand Down

0 comments on commit 438614f

Please sign in to comment.