diff --git a/quick_tour/the_view.rst b/quick_tour/the_view.rst index b54701de96e..819a0694c10 100644 --- a/quick_tour/the_view.rst +++ b/quick_tour/the_view.rst @@ -242,8 +242,8 @@ parameters are the values of the placeholders defined in the route pattern: .. tip:: - You can also generate absolute URLs with the ``url`` tag: ``{% url 'hello' - with { 'name': 'Thomas' } %}``. + You can also generate absolute URLs with the ``url`` tag: ``{{ url('hello', + { 'name': 'Thomas' }) }}``. Using Assets: images, JavaScripts, and stylesheets ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~