Fixed text for parent categories checkbox

This commit is contained in:
eeintech 2020-11-03 17:05:08 -05:00
parent 279d5a00ce
commit 4e157fe956
2 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class EditPartForm(HelperForm):
parent_category_templates = forms.BooleanField(required=False,
initial=False,
label=_('Include parent category parameter templates'),
label=_('Include parent categories parameter templates'),
widget=forms.HiddenInput())
class Meta:

View File

@ -46,6 +46,7 @@ class TestParams(TestCase):
t3.full_clean()
t3.save()
# Category templates
n = PartCategoryParameterTemplate.objects.all().count()
self.assertEqual(n, 2)