mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
load bulk
This commit is contained in:
@@ -147,7 +147,7 @@ class OpenDataImporter:
|
||||
space=self.request.space,
|
||||
))
|
||||
|
||||
Food.objects.bulk_create(insert_list)
|
||||
Food.load_bulk(insert_list, None)
|
||||
|
||||
self._update_slug_cache(Food, 'food')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user