models
django_spire.knowledge.entry.models
Entry
Bases: HistoryModelMixin
, OrderingModelMixin
django_spire.knowledge.entry.models
Entry
Bases: HistoryModelMixin
, OrderingModelMixin
collection = models.ForeignKey(Collection, on_delete=(models.CASCADE), related_name='entries', related_query_name='entry')
class-attribute
instance-attribute
current_version = models.OneToOneField(EntryVersion, on_delete=(models.CASCADE), related_name='current_version', related_query_name='current_version', null=True, blank=True)
class-attribute
instance-attribute
name = models.CharField(max_length=255)
class-attribute
instance-attribute
objects = EntryQuerySet.as_manager()
class-attribute
instance-attribute
services = EntryService()
class-attribute
instance-attribute
Meta
verbose_name = 'Entry'
class-attribute
instance-attribute
verbose_name_plural = 'Entries'
class-attribute
instance-attribute
db_table = 'django_spire_knowledge_entry'
class-attribute
instance-attribute