From dfb9ae1d23662f7bfc6a28c2b726e2473e0cc48b Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Fri, 22 May 2020 16:54:07 -0700 Subject: [PATCH] Refs #30400 -- Improved typography in admin_doc/missing_docutils.html. --- .../contrib/admindocs/templates/admin_doc/missing_docutils.html | 2 +- tests/admin_docs/test_views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admindocs/templates/admin_doc/missing_docutils.html b/django/contrib/admindocs/templates/admin_doc/missing_docutils.html index 633d7c063c..0f1b63e1df 100644 --- a/django/contrib/admindocs/templates/admin_doc/missing_docutils.html +++ b/django/contrib/admindocs/templates/admin_doc/missing_docutils.html @@ -14,7 +14,7 @@

{% translate 'Documentation' %}

-

{% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Python's docutils library.{% endblocktranslate %}

+

{% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Python’s docutils library.{% endblocktranslate %}

{% blocktranslate with "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install docutils.{% endblocktranslate %}

diff --git a/tests/admin_docs/test_views.py b/tests/admin_docs/test_views.py index f06afd336a..47bec73a50 100644 --- a/tests/admin_docs/test_views.py +++ b/tests/admin_docs/test_views.py @@ -113,7 +113,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase): response = self.client.get(reverse('django-admindocs-docroot')) self.assertContains( response, - '

The admin documentation system requires Python\'s ' + '

The admin documentation system requires Python’s ' 'docutils ' 'library.

' '

Please ask your administrators to install '