diff --git a/taiga/projects/choices.py b/taiga/projects/choices.py index a54f8847..47c9641e 100644 --- a/taiga/projects/choices.py +++ b/taiga/projects/choices.py @@ -3,6 +3,11 @@ from django.utils.translation import ugettext_lazy as _ +VIDEOCONFERENCES_CHOICES = ( + ("appear-in", "AppearIn"), + ("talky", "Talky"), +) + US_STATUSES = ( (1, _("Open"), False, True, "#669933"), (2, _("Closed"), True, False, "#999999"), diff --git a/taiga/projects/models.py b/taiga/projects/models.py index 382974d8..72aa8c41 100644 --- a/taiga/projects/models.py +++ b/taiga/projects/models.py @@ -28,12 +28,6 @@ from taiga.base.users.models import Role from . import choices -VIDEOCONFERENCES_CHOICES = ( - ('appear-in', 'AppearIn'), - ('talky', 'Talky'), -) - - class Membership(models.Model): # This model stores all project memberships. Also # stores invitations to memberships that does not have @@ -142,7 +136,7 @@ class Project(ProjectDefaults, models.Model): is_issues_activated = models.BooleanField(default=True, null=False, blank=True, verbose_name=_("active issues panel")) videoconferences = models.CharField(max_length=250, null=True, blank=True, - choices=VIDEOCONFERENCES_CHOICES, + choices=choices.VIDEOCONFERENCES_CHOICES, verbose_name=_("videoconference system")) videoconferences_salt = models.CharField(max_length=250, null=True, blank=True, verbose_name=_("videoconference room salt"))