Updated docutils link to HTTPS and new location.

This commit is contained in:
Jon Dufresne 2020-05-15 17:00:27 -07:00 committed by Claude Paroz
parent f59a2b7306
commit 7070d46114
2 changed files with 6 additions and 3 deletions

View File

@ -14,9 +14,9 @@
<h1>{% translate 'Documentation' %}</h1>
<div id="content-main">
<h3>{% blocktranslate with "http://docutils.sf.net/" as link %}The admin documentation system requires Python's <a href="{{ link }}">docutils</a> library.{% endblocktranslate %}</h3>
<h3>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Python's <a href="{{ link }}">docutils</a> library.{% endblocktranslate %}</h3>
<p>{% blocktranslate with "http://docutils.sf.net/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p>
<p>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p>
</div>
{% endblock %}

View File

@ -114,7 +114,10 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
self.assertContains(
response,
'<h3>The admin documentation system requires Python\'s '
'<a href="http://docutils.sf.net/">docutils</a> library.</h3>',
'<a href="https://docutils.sourceforge.io/">docutils</a> '
'library.</h3>'
'<p>Please ask your administrators to install '
'<a href="https://docutils.sourceforge.io/">docutils</a>.</p>',
html=True
)
self.assertContains(response, '<h1 id="site-name"><a href="/admin/">Django administration</a></h1>')