mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-12 09:50:45 +01:00
Cleanup Dependency/Resolves form code
This commit is contained in:
parent
0b38f1d5bd
commit
665e4008e7
@ -589,7 +589,7 @@ class TicketDependencyForm(forms.ModelForm):
|
||||
|
||||
class Meta:
|
||||
model = TicketDependency
|
||||
exclude = ('ticket',)
|
||||
fields = ('depends_on',)
|
||||
|
||||
def __init__(self, ticket, *args, **kwargs):
|
||||
super(TicketDependencyForm,self).__init__(*args, **kwargs)
|
||||
@ -602,7 +602,6 @@ class TicketResolvesForm(forms.ModelForm):
|
||||
|
||||
class Meta:
|
||||
model = TicketDependency
|
||||
#exclude = ('depends_on',)
|
||||
fields = ('ticket',)
|
||||
|
||||
def __init__(self, ticket, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user