mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
Fixed typo in exception message; refs #19414
Thanks Alexey Boriskin for the report.
This commit is contained in:
@@ -115,7 +115,7 @@ class TestRegistrationDecorator(TestCase):
|
||||
)
|
||||
|
||||
def test_wrapped_class_not_a_model_admin(self):
|
||||
self.assertRaisesMessage(ValueError, 'Wrapped class must sublcass ModelAdmin.',
|
||||
self.assertRaisesMessage(ValueError, 'Wrapped class must subclass ModelAdmin.',
|
||||
register(Person), CustomSite)
|
||||
|
||||
def test_custom_site_not_an_admin_site(self):
|
||||
|
||||
Reference in New Issue
Block a user