summaryrefslogtreecommitdiff
path: root/tests/modeladmin/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2019-01-17 18:40:11 -0500
committerTim Graham <timograham@gmail.com>2019-01-17 18:40:11 -0500
commitee9bd8c31024ec424157798b2a60a7f52f9353ee (patch)
tree2353d57977a202934c9b92bf8a2bc1779062a974 /tests/modeladmin/tests.py
parenta9feec5c70f41b74e2af59725aa3c4c6528b934b (diff)
[2.2.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() deprecation comments.
Diffstat (limited to 'tests/modeladmin/tests.py')
-rw-r--r--tests/modeladmin/tests.py2
1 files changed, 1 insertions, 1 deletions
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