From 74d4d58b62f3a68bf77b983bc8a475a130d1f95e Mon Sep 17 00:00:00 2001 From: Zbigniew Siciarz Date: Sun, 16 Feb 2014 13:23:16 +0100 Subject: Fixed #21939 -- Deprecated loading ssi/url tags from future. --- docs/intro/tutorial03.txt | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'docs/intro/tutorial03.txt') diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 9754808897..5b2bee5fe7 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -548,17 +548,6 @@ defined in your url configurations by using the ``{% url %}`` template tag:
  • {{ question.question_text }}
  • -.. note:: - - If ``{% url 'detail' question.id %}`` (with quotes) doesn't work, but - ``{% url detail question.id %}`` (without quotes) does, that means you're - using a version of Django < 1.5. In this case, add the following - declaration at the top of your template: - - .. code-block:: html+django - - {% load url from future %} - The way this works is by looking up the URL definition as specified in the ``polls.urls`` module. You can see exactly where the URL name of 'detail' is defined below:: -- cgit v1.3