Commit f4806e3e authored by Alasdair Nicol's avatar Alasdair Nicol Committed by Tim Graham
Browse files

[1.5.x] Added missing request argument to example in URL dispatcher docs

Backport of a0c58113 from master
parent f2969c7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ For example::
    )

In this example, for a request to ``/blog/2005/``, Django will call
``blog.views.year_archive(year='2005', foo='bar')``.
``blog.views.year_archive(request, year='2005', foo='bar')``.

This technique is used in the
:doc:`syndication framework </ref/contrib/syndication>` to pass metadata and