From 82784ec9d183ee28334ac6da3f449742d96f3de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB=20=D0=A1=D0=B5=D1=80=D0=B3?= =?UTF-8?q?=D0=B5=D0=B5=D0=B2?= Date: Tue, 18 Oct 2022 12:14:35 +0400 Subject: [PATCH] check command changes --- .../foodgram/recipes/management/commands/populate_ingredient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/foodgram/recipes/management/commands/populate_ingredient.py b/backend/foodgram/recipes/management/commands/populate_ingredient.py index 2e77e5c..5ffebce 100644 --- a/backend/foodgram/recipes/management/commands/populate_ingredient.py +++ b/backend/foodgram/recipes/management/commands/populate_ingredient.py @@ -39,7 +39,7 @@ def insert_to_db(self, data): def row_process(self, num, row): data = {} - data['id'] = num + # data['id'] = num data['name'] = row[0] data['measurement_unit'] = row[1] self.insert_to_db(data)