Associate queues with KB categories

This commit is contained in:
Timothy Hobbs
2020-01-06 14:25:37 +01:00
parent 606098d947
commit 5f29bb632e
4 changed files with 17 additions and 1 deletions

View File

@@ -1216,6 +1216,15 @@ class KBCategory(models.Model):
_('Description'),
)
queue = models.ForeignKey(
Queue,
blank=True,
null=True,
on_delete=models.CASCADE,
verbose_name=_('Default queue when creating a ticket after viewing this category.'),
)
def __str__(self):
return '%s' % self.title