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