mirror of https://github.com/django/django.git
Updated docutils link to HTTPS and new location.
This commit is contained in:
parent
f59a2b7306
commit
7070d46114
|
@ -14,9 +14,9 @@
|
||||||
<h1>{% translate 'Documentation' %}</h1>
|
<h1>{% translate 'Documentation' %}</h1>
|
||||||
|
|
||||||
<div id="content-main">
|
<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>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -114,7 +114,10 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
|
||||||
self.assertContains(
|
self.assertContains(
|
||||||
response,
|
response,
|
||||||
'<h3>The admin documentation system requires Python\'s '
|
'<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
|
html=True
|
||||||
)
|
)
|
||||||
self.assertContains(response, '<h1 id="site-name"><a href="/admin/">Django administration</a></h1>')
|
self.assertContains(response, '<h1 id="site-name"><a href="/admin/">Django administration</a></h1>')
|
||||||
|
|
Loading…
Reference in New Issue