Skip to content
Browse files

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

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

Please sign in to comment.
Something went wrong with that request. Please try again.