mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Merge pull request #423 from tonioo/master
Fixed Meta class definition for TicketCustomFieldValue.
This commit is contained in:
commit
979a13b402
@ -1411,9 +1411,7 @@ class TicketCustomFieldValue(models.Model):
|
|||||||
return '%s / %s' % (self.ticket, self.field)
|
return '%s / %s' % (self.ticket, self.field)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ('ticket', 'field'),
|
unique_together = (('ticket', 'field'),)
|
||||||
|
|
||||||
class Meta:
|
|
||||||
verbose_name = _('Ticket custom field value')
|
verbose_name = _('Ticket custom field value')
|
||||||
verbose_name_plural = _('Ticket custom field values')
|
verbose_name_plural = _('Ticket custom field values')
|
||||||
|
|
||||||
@ -1441,6 +1439,6 @@ class TicketDependency(models.Model):
|
|||||||
return '%s / %s' % (self.ticket, self.depends_on)
|
return '%s / %s' % (self.ticket, self.depends_on)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ('ticket', 'depends_on')
|
unique_together = (('ticket', 'depends_on'),)
|
||||||
verbose_name = _('Ticket dependency')
|
verbose_name = _('Ticket dependency')
|
||||||
verbose_name_plural = _('Ticket dependencies')
|
verbose_name_plural = _('Ticket dependencies')
|
||||||
|
Loading…
Reference in New Issue
Block a user