mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28404 -- Made displaying values in admin respect Field's empty_values.
This commit is contained in:
committed by
Mariusz Felisiak
parent
ec7651586d
commit
9b02ad91ea
@@ -641,7 +641,7 @@ class AdminFileWidgetTests(TestDataMixin, TestCase):
|
||||
response = self.client.get(reverse("admin:admin_widgets_album_add"))
|
||||
self.assertContains(
|
||||
response,
|
||||
'<div class="readonly"></div>',
|
||||
'<div class="readonly">-</div>',
|
||||
html=True,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user