Made a version condition less confusing.

Fixed #18762 (again).
This commit is contained in:
Aymeric Augustin 2012-09-23 20:17:36 +02:00
parent 5330cd50cd
commit 98b6ce60f4
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ with the :ttag:`url` template tag:
If ``{% url 'polls.views.detail' poll.id %}`` (with quotes) doesn't work, If ``{% url 'polls.views.detail' poll.id %}`` (with quotes) doesn't work,
but ``{% url polls.views.detail poll.id %}`` (without quotes) does, that but ``{% url polls.views.detail poll.id %}`` (without quotes) does, that
means you're using a version of Django ≤ 1.4. In this case, add the means you're using a version of Django < 1.5. In this case, add the
following declaration at the top of your template: following declaration at the top of your template:
.. code-block:: html+django .. code-block:: html+django