diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index 00174bca730..b110596d8a7 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -698,6 +698,11 @@ class ModelAdmin(BaseModelAdmin): changelist; it returns an HttpResponse if the action was handled, and None otherwise. """ + if 'index' not in request.POST: + # If "Go" was not pushed then we can assume the POST was for + # an inline edit save and we do not need to validate the form. + return None + # There can be multiple action forms on the page (at the top # and bottom of the change list, for example). Get the action # whose button was pushed. diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index 0f6f79d85ce..199b41afcb9 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -940,6 +940,28 @@ class AdminViewListEditable(TestCase): # 1 select per object = 3 selects self.failUnlessEqual(response.content.count("