This commit is contained in:
Martin Pépin 2017-10-25 15:43:35 +02:00 committed by Aurélien Delobelle
parent 6d90311ae1
commit 02f1e83420

View file

@ -14,7 +14,7 @@ class KeepUnselectableModelFormMixinTests(TestCase):
def _get_form_cls(self):
"""
We recreate a new form class for each test, because `queryset` may not
be reevaluate and miss the permissions created by `setUp`.
be reevaluated and may lack the permissions created by `setUp`.
"""
class ExampleForm(KeepUnselectableModelFormMixin, forms.ModelForm):
user_permissions = forms.ModelMultipleChoiceField(