From 04628e2016641bfa657333d6ee1f5b371c17f62c Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Wed, 19 Jun 2013 23:42:23 -0400 Subject: Fixed #20630 -- Removed `maxlength` attribute from `NumberInput`. This attribute is only allowed on inputs of type "text", "search", "url", "tel", "email", or "password". Thanks to yoyoma for the report and @bmispelon for the review. --- tests/model_formsets/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/model_formsets') diff --git a/tests/model_formsets/tests.py b/tests/model_formsets/tests.py index 03cd3b0159..62870c7462 100644 --- a/tests/model_formsets/tests.py +++ b/tests/model_formsets/tests.py @@ -559,7 +559,7 @@ class ModelFormsetTest(TestCase): formset = AuthorBooksFormSet2(instance=author) self.assertEqual(len(formset.forms), 1) self.assertHTMLEqual(formset.forms[0].as_p(), - '

\n' + '

\n' '

') data = { -- cgit v1.3