mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-18 11:49:56 +02:00
Cleanup Dependency/Resolves form code
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user