From 1288572d9203472be8aa28e956027899fec3ed92 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 20 Aug 2012 18:23:17 +0200 Subject: [PATCH] Made an example more readable in the URLs docs. --- docs/topics/http/urls.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 819ce24b91..7297184ed3 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -574,10 +574,8 @@ For example:: (r'^blog/(?P\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 ` to pass metadata and