seeder
django_spire.knowledge.entry.seeding.seeder
EntrySeeder
Bases: DjangoModelSeeder
django_spire.knowledge.entry.seeding.seeder
EntrySeeder
Bases: DjangoModelSeeder
model_class = models.Entry
class-attribute
instance-attribute
cache_name = 'entry_seeder'
class-attribute
instance-attribute
fields = {'id': 'exclude', 'current_version': 'exclude', 'collection_id': ('custom', 'fk_random', {'model_class': Collection}), 'name': ('llm', 'A name for a document. Make it fun and give it a theme')}
class-attribute
instance-attribute
seed_database
classmethod
django_spire/knowledge/entry/seeding/seeder.py