Browse Source

Added missing request argument to example in URL dispatcher docs

Alasdair Nicol 11 years ago
parent
commit
a0c58113b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/http/urls.txt

+ 1 - 1
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