summaryrefslogtreecommitdiff
path: root/tests/regressiontests/modeladmin/models.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-03-27 23:03:56 +0000
committerJannis Leidel <jannis@leidel.info>2010-03-27 23:03:56 +0000
commitaba95dcc0b5370ffac3d3b701c3ca7782ee999c1 (patch)
treeb1bd806435d62fd4db98518e08dab0e6ce733c54 /tests/regressiontests/modeladmin/models.py
parent9df8d9c2946bf74288d410e2dc8917493b079b11 (diff)
Fixed #13023 - Removed ambiguity with regard to the max_num option of formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/modeladmin/models.py')
-rw-r--r--tests/regressiontests/modeladmin/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/modeladmin/models.py b/tests/regressiontests/modeladmin/models.py
index ae5c1aecf0..36ea416e7c 100644
--- a/tests/regressiontests/modeladmin/models.py
+++ b/tests/regressiontests/modeladmin/models.py
@@ -919,7 +919,7 @@ ImproperlyConfigured: 'ValidationTestInline.extra' should be a integer.
>>> validate(ValidationTestModelAdmin, ValidationTestModel)
Traceback (most recent call last):
...
-ImproperlyConfigured: 'ValidationTestInline.max_num' should be a integer.
+ImproperlyConfigured: 'ValidationTestInline.max_num' should be an integer or None (default).
>>> class ValidationTestInline(TabularInline):
... model = ValidationTestInlineModel