mirror of https://github.com/django/django.git
[1.6.x] Added missing request argument to example in URL dispatcher docs
Backport of a0c58113b9
from master
This commit is contained in:
parent
97254154ab
commit
ccef8b2aa2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue