浏览代码

Made an example more readable in the URLs docs.

Aymeric Augustin 12 年之前
父节点
当前提交
1288572d92
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      docs/topics/http/urls.txt

+ 2 - 4
docs/topics/http/urls.txt

@@ -574,10 +574,8 @@ For example::
         (r'^blog/(?P<year>\d{4})/$', 'year_archive', {'foo': 'bar'}),
     )
 
-In this example, for a request to ``/blog/2005/``, Django will call the
-``blog.views.year_archive()`` view, passing it these keyword arguments::
-
-    year='2005', foo='bar'
+In this example, for a request to ``/blog/2005/``, Django will call
+``blog.views.year_archive(year='2005', foo='bar')``.
 
 This technique is used in the
 :doc:`syndication framework </ref/contrib/syndication>` to pass metadata and