mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferred instance loading.
This commit is contained in:
committed by
Tim Graham
parent
dac075e910
commit
7f51876f99
@@ -3650,7 +3650,7 @@ class AdminCustomQuerysetTest(TestCase):
|
||||
self.assertContains(
|
||||
response,
|
||||
'<li class="success">The short message "<a href="%s">'
|
||||
'ShortMessage_Deferred_timestamp object</a>" was changed successfully.</li>' %
|
||||
'ShortMessage object</a>" was changed successfully.</li>' %
|
||||
reverse('admin:admin_views_shortmessage_change', args=(sm.pk,)), html=True
|
||||
)
|
||||
|
||||
@@ -3697,7 +3697,7 @@ class AdminCustomQuerysetTest(TestCase):
|
||||
self.assertContains(
|
||||
response,
|
||||
'<li class="success">The paper "<a href="%s">'
|
||||
'Paper_Deferred_author object</a>" was changed successfully.</li>' %
|
||||
'Paper object</a>" was changed successfully.</li>' %
|
||||
reverse('admin:admin_views_paper_change', args=(p.pk,)), html=True
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user