forked from extern/django-helpdesk
More PEP8 changes (hopefully last)
This commit is contained in:
parent
4cf46156f1
commit
dc25164304
@ -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 '''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user