mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
[2.2.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() deprecation comments.
This commit is contained in:
parent
a9feec5c70
commit
ee9bd8c310
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue