From aba95dcc0b5370ffac3d3b701c3ca7782ee999c1 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 27 Mar 2010 23:03:56 +0000 Subject: 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 --- tests/regressiontests/modeladmin/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/regressiontests/modeladmin') 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 -- cgit v1.3