mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[1.5.x] Added missing request argument to example in URL dispatcher docs
Backport of a0c58113b9
from master
This commit is contained in:
parent
f2969c7e02
commit
f4806e3ef6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue