Skip to content

Commit

Permalink
Remove unused tag field from NewPlanForm
Browse files Browse the repository at this point in the history
  • Loading branch information
asankov committed Jan 1, 2019
1 parent 26e591a commit d6c846d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tcms/testplans/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,7 @@ def populate(self, product_id):


class NewPlanForm(BasePlanForm):
tag = forms.CharField(
label="Tag",
required=False
)

# Display radio buttons instead of checkboxes
auto_to_plan_author = forms.BooleanField(
label=' plan\'s author',
initial=True,
Expand Down Expand Up @@ -91,11 +86,6 @@ class NewPlanForm(BasePlanForm):
)
is_active = forms.BooleanField(label="Active", required=False, initial=True)

def clean_tag(self):
return Tag.objects.filter(
name__in=string_to_list(self.cleaned_data['tag'])
)


class EditPlanForm(NewPlanForm):
author = UserField(
Expand Down

0 comments on commit d6c846d

Please sign in to comment.