Author: adrian
Date: 2006-05-09 10:31:03 -0500 (Tue, 09 May 2006)
New Revision: 2871
Modified:
django/trunk/docs/overview.txt
Log:
Fixed #1811 -- Fixed inconsistencies in docs/overview.txt
Modified: django/trunk/docs/overview.txt
===================================================================
--- django/trunk/docs/overview.txt 2006-05-09 15:29:53 UTC (rev 2870)
+++ django/trunk/docs/overview.txt 2006-05-09 15:31:03 UTC (rev 2871)
@@ -183,7 +183,7 @@
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
@@ -234,7 +234,7 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---