Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

After a bit more thinking, "dev" seems clearer than "latest".

  • Loading branch information...
commit 91ca7caccb26ea62bb70352d3b0e9462bade9e01 1 parent 5f7bdc6
@jacobian jacobian authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_website/docs/templates/docs/doc.html
View
4 django_website/docs/templates/docs/doc.html
@@ -21,13 +21,13 @@
{% for v in versions %}
{% if version != v %}
<li class="other">
- <a href="{% url document-detail lang=lang, version=v, url=docurl %}">{% if v == 'dev' %}latest{% else %}{{ v }}{% endif %}</a></li>
+ <a href="{% url document-detail lang=lang, version=v, url=docurl %}">{{ v }}</a></li>
{% endif %}
{% endfor %}
<li class="current"
title="{% if version == 'dev' %}This document is for Django's development version, which can be significantly different from previous releases.{% else %}This document describes Django {{ version }}.{% endif %} Click on the links on the left to see other versions.">
<span>Documentation version:
- <strong>{% if version == 'dev' %}latest{% else %}{{ version }}{% endif %}</strong>
+ <strong>{{ version }}</strong>
</span>
</li>
</ul>
Please sign in to comment.
Something went wrong with that request. Please try again.