diff --git a/helpdesk/forms.py b/helpdesk/forms.py index 4e02f7e5..217b461d 100644 --- a/helpdesk/forms.py +++ b/helpdesk/forms.py @@ -574,6 +574,7 @@ class TicketCCForm(forms.ModelForm): users = User.objects.filter(is_active=True).order_by(User.USERNAME_FIELD) self.fields['user'].queryset = users + class TicketCCUserForm(forms.ModelForm): ''' Adds a helpdesk user as a CC on a Ticket ''' @@ -589,6 +590,7 @@ class TicketCCUserForm(forms.ModelForm): model = TicketCC exclude = ('ticket', 'email',) + class TicketCCEmailForm(forms.ModelForm): ''' Adds an email address as a CC on a Ticket ''' @@ -599,6 +601,7 @@ class TicketCCEmailForm(forms.ModelForm): model = TicketCC exclude = ('ticket', 'user',) + class TicketDependencyForm(forms.ModelForm): ''' Adds a different ticket as a dependency for this Ticket '''