noc.kb.models.kbentryattachment

Module Contents

class noc.kb.models.kbentryattachment.KBEntryAttachment

Bases: noc.core.model.base.NOCModel

Attachments

class Meta

Bases: object

verbose_name = KB Entry Attachment
verbose_name_plural = KB Entry Attachments
app_label = kb
db_table = kb_kbentryattachment
unique_together = [['kb_entry', 'name']]
kb_entry
name
description
is_hidden
file
size

File size

mtime

File mtime

__str__(self)
delete(self)

Delete object on database storage too