Skip to content

Commit

Permalink
Fixed #1811 -- Fixed inconsistencies in docs/overview.txt
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed May 9, 2006
1 parent ad181e2 commit 6341b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/overview.txt
Expand Up @@ -183,7 +183,7 @@ is a simple Python function. Each view gets passed a request object --
which contains request metadata -- and the values captured in the regex.

For example, if a user requested the URL "/articles/2005/05/39323/", Django
would call the function ``mysite.news.views.article_detail(request,
would call the function ``mysite.views.article_detail(request,
'2005', '05', '39323')``.

Write your views
Expand Down Expand Up @@ -234,7 +234,7 @@ might look like::
Variables are surrounded by double-curly braces. ``{{ article.headline }}``
means "Output the value of the article's headline attribute." But dots aren't
used only for attribute lookup: They also can do dictionary-key lookup, index
lookup and function calls (as is the case with ``article.get_reporter``).
lookup and function calls.

Note ``{{ article.pub_date|date:"F j, Y" }}`` uses a Unix-style "pipe" (the "|"
character). This is called a template filter, and it's a way to filter the value
Expand Down

0 comments on commit 6341b43

Please sign in to comment.