From ee9bd8c31024ec424157798b2a60a7f52f9353ee Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 17 Jan 2019 18:40:11 -0500 Subject: [2.2.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() deprecation comments. --- tests/modeladmin/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/modeladmin') diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py index 0d78dd9c21..bb79000b06 100644 --- a/tests/modeladmin/tests.py +++ b/tests/modeladmin/tests.py @@ -798,7 +798,7 @@ class ModelAdminPermissionTests(SimpleTestCase): self.assertIsInstance(inline_instances[0], ConcertInline) def test_inline_has_add_permission_without_obj(self): - # This test will be removed in Django 3.1 when `obj` becomes a required + # This test will be removed in Django 3.0 when `obj` becomes a required # argument of has_add_permission() (#27991). class ConcertInline(TabularInline): model = Concert -- cgit v1.3