1
0
mirror of https://github.com/django/django.git synced 2025-04-05 05:56:42 +00:00

Added missing request argument to example in URL dispatcher docs

This commit is contained in:
Alasdair Nicol 2013-08-03 20:42:02 +01:00
parent 425d076d0c
commit a0c58113b9

View File

@ -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