Closed Blizni13 closed 3 months ago
MealItem post request was incorrect because of the foreign key problems - now it is solved by using normal PositiveIntegerField. Instead of foreign key, we check correctness of the selected product in request views.
MealItem post request was incorrect because of the foreign key problems - now it is solved by using normal PositiveIntegerField. Instead of foreign key, we check correctness of the selected product in request views.