diff --git a/docs/templates/docs/doc.html b/docs/templates/docs/doc.html index 44ec5a7076..b4597f667f 100644 --- a/docs/templates/docs/doc.html +++ b/docs/templates/docs/doc.html @@ -46,8 +46,11 @@ {% trans "This document is for a preview release of Django, which can be significantly different from previous releases. For older releases, use the version selector floating in the bottom right corner of this page." %} {% elif not release.is_supported %} + {% url 'document-detail' lang='en' version='stable' url=docurl host='docs' as latest_url %}
- {% trans "This document is for an insecure version of Django that is no longer supported. Please upgrade to a newer release!" %} + {% blocktrans with link='here'|safe %} + This document is for an insecure version of Django that is no longer supported. Please click {{ link }} for the latest version. + {% endblocktrans %}
{% endif %} {% endblock body_extra %}