def seed_textts(self): Text.drop_collection() for item in self.list_text: print(item['title']) Text.objects.create(**item)