Browse files

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

Backport of a0c5811 from master
  • Loading branch information...
1 parent f2969c7 commit f4806e3ef697a41e8e4f762466d37129cfb5431d @alasdairnicol alasdairnicol committed with timgraham Aug 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/http/urls.txt
2 docs/topics/http/urls.txt
@@ -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

0 comments on commit f4806e3

Please sign in to comment.