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)