mirror of https://github.com/django/django.git
Replaced docutils link by PyPI reference.
This commit is contained in:
parent
4dfc6ff8a8
commit
453cfa2815
|
@ -16,7 +16,7 @@
|
|||
<div id="content-main">
|
||||
<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 "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p>
|
||||
<p>{% blocktranslate with "https://pypi.org/project/docutils/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -23,7 +23,7 @@ the following:
|
|||
your ``urlpatterns``. Make sure it's included *before* the
|
||||
``'admin/'`` entry, so that requests to ``/admin/doc/`` don't get
|
||||
handled by the latter entry.
|
||||
* Install the docutils Python module (https://docutils.sourceforge.io/).
|
||||
* Install the :pypi:`docutils` package.
|
||||
* **Optional:** Using the admindocs bookmarklets requires
|
||||
``django.contrib.admindocs.middleware.XViewMiddleware`` to be installed.
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
|
|||
'<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>',
|
||||
'<a href="https://pypi.org/project/docutils/">docutils</a>.</p>',
|
||||
html=True,
|
||||
)
|
||||
self.assertContains(
|
||||
|
|
Loading…
Reference in New Issue