Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made an example more readable in the URLs docs.

  • Loading branch information...
commit 1288572d9203472be8aa28e956027899fec3ed92 1 parent 4e82d61
@aaugustin aaugustin authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 docs/topics/http/urls.txt
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.