mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
Explicit property naming
This commit is contained in:
parent
3537ec7447
commit
3e791d98fa
@ -477,7 +477,7 @@ class Ticket(models.Model):
|
|||||||
(DUPLICATE_STATUS, _('Duplicate')),
|
(DUPLICATE_STATUS, _('Duplicate')),
|
||||||
)
|
)
|
||||||
|
|
||||||
PRIORITY_CHOICES = helpdesk_settings.PRIORITY_CHOICES
|
PRIORITY_CHOICES = helpdesk_settings.TICKET_PRIORITY_CHOICES
|
||||||
|
|
||||||
title = models.CharField(
|
title = models.CharField(
|
||||||
_('Title'),
|
_('Title'),
|
||||||
|
@ -104,16 +104,16 @@ ALLOWED_URL_SCHEMES = getattr(settings, 'ALLOWED_URL_SCHEMES', (
|
|||||||
))
|
))
|
||||||
|
|
||||||
# Ticket priority choices
|
# Ticket priority choices
|
||||||
DEFAULT_PRIORITY_CHOICES = (
|
DEFAULT_TICKET_PRIORITY_CHOICES = (
|
||||||
(1, _('1. Critical')),
|
(1, _('1. Critical')),
|
||||||
(2, _('2. High')),
|
(2, _('2. High')),
|
||||||
(3, _('3. Normal')),
|
(3, _('3. Normal')),
|
||||||
(4, _('4. Low')),
|
(4, _('4. Low')),
|
||||||
(5, _('5. Very Low')),
|
(5, _('5. Very Low')),
|
||||||
)
|
)
|
||||||
PRIORITY_CHOICES = getattr(settings,
|
TICKET_PRIORITY_CHOICES = getattr(settings,
|
||||||
'PRIORITY_CHOICES',
|
'HELPDESK_TICKET_PRIORITY_CHOICES',
|
||||||
DEFAULT_PRIORITY_CHOICES)
|
DEFAULT_TICKET_PRIORITY_CHOICES)
|
||||||
|
|
||||||
############################
|
############################
|
||||||
# options for public pages #
|
# options for public pages #
|
||||||
|
Loading…
x
Reference in New Issue
Block a user