diff --git a/app/views.py b/app/views.py index ea25592..5584d17 100644 --- a/app/views.py +++ b/app/views.py @@ -875,8 +875,8 @@ class HatchingsViewSet(viewsets.ModelViewSet): setattr(hatching, key, value) if hatching.poultry is None: hatching.poultry=poultry - hatching.GoodSum = good_sums['goodSum'] - hatching.loadingSum = good_sums['loadingSum'] + hatching.GoodSum = good_sums['goodSum'] + hatching.loadingSum = good_sums['loadingSum'] hatching.save() else: