1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.

This commit is contained in:
Alexander Gaevsky
2016-04-14 20:10:55 +03:00
committed by Tim Graham
parent 14879ac61d
commit 2d26b4637f
9 changed files with 44 additions and 22 deletions

View File

@@ -158,7 +158,7 @@ class TestInline(TestDataMixin, TestCase):
Ref #8190.
"""
response = self.client.get(reverse('admin:admin_inlines_holder4_add'))
self.assertContains(response, '<p class="help">Awesome stacked help text is awesome.</p>', 4)
self.assertContains(response, '<div class="help">Awesome stacked help text is awesome.</div>', 4)
self.assertContains(
response,
'<img src="/static/admin/img/icon-unknown.svg" '