mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 15:33:09 +01:00
Explicit property naming
This commit is contained in:
parent
3537ec7447
commit
3e791d98fa
@ -477,7 +477,7 @@ class Ticket(models.Model):
|
||||
(DUPLICATE_STATUS, _('Duplicate')),
|
||||
)
|
||||
|
||||
PRIORITY_CHOICES = helpdesk_settings.PRIORITY_CHOICES
|
||||
PRIORITY_CHOICES = helpdesk_settings.TICKET_PRIORITY_CHOICES
|
||||
|
||||
title = models.CharField(
|
||||
_('Title'),
|
||||
|
@ -104,16 +104,16 @@ ALLOWED_URL_SCHEMES = getattr(settings, 'ALLOWED_URL_SCHEMES', (
|
||||
))
|
||||
|
||||
# Ticket priority choices
|
||||
DEFAULT_PRIORITY_CHOICES = (
|
||||
DEFAULT_TICKET_PRIORITY_CHOICES = (
|
||||
(1, _('1. Critical')),
|
||||
(2, _('2. High')),
|
||||
(3, _('3. Normal')),
|
||||
(4, _('4. Low')),
|
||||
(5, _('5. Very Low')),
|
||||
)
|
||||
PRIORITY_CHOICES = getattr(settings,
|
||||
'PRIORITY_CHOICES',
|
||||
DEFAULT_PRIORITY_CHOICES)
|
||||
TICKET_PRIORITY_CHOICES = getattr(settings,
|
||||
'HELPDESK_TICKET_PRIORITY_CHOICES',
|
||||
DEFAULT_TICKET_PRIORITY_CHOICES)
|
||||
|
||||
############################
|
||||
# options for public pages #
|
||||
|
Loading…
Reference in New Issue
Block a user