mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
This commit is contained in:
committed by
Mariusz Felisiak
parent
2b03e8e9e8
commit
42b9a23267
@@ -105,7 +105,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
|
||||
|
||||
def test_template_detail(self):
|
||||
response = self.client.get(reverse('django-admindocs-templates', args=['admin_doc/template_detail.html']))
|
||||
self.assertContains(response, '<h1>Template: "admin_doc/template_detail.html"</h1>', html=True)
|
||||
self.assertContains(response, '<h1>Template: <q>admin_doc/template_detail.html</q></h1>', html=True)
|
||||
|
||||
def test_missing_docutils(self):
|
||||
utils.docutils_is_available = False
|
||||
|
||||
Reference in New Issue
Block a user