summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-08-31 11:57:46 -0400
committerTim Graham <timograham@gmail.com>2017-08-31 12:00:32 -0400
commitc51fdda7762083fc3b97b56baa4f6b65398cec1b (patch)
treea41afc8520ee8b1384922e7db650cd51bbe453b8
parent20c03399d8fd03484f3ed33d93691c29c2ff5aaf (diff)
[1.11.x] Refs #23276 -- Fixed explanation of how calling views works.
"Importing the view" is no longer applicable after a9fd740d22bc4fed5fdb280c036618000ee13df1. Backport of 907580557053085578d8de0e1b7309e0e0ed8755 from master
-rw-r--r--docs/intro/overview.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt
index 011d1695a0..608faf4a87 100644
--- a/docs/intro/overview.txt
+++ b/docs/intro/overview.txt
@@ -209,9 +209,9 @@ matches the requested URL. (If none of them matches, Django calls a
special-case 404 view.) This is blazingly fast, because the regular expressions
are compiled at load time.
-Once one of the regexes matches, Django imports and calls the given view, which
-is a simple Python function. Each view gets passed a request object --
-which contains request metadata -- and the values captured in the regex.
+Once one of the regexes matches, Django calls the given view, which is a 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 ``news.views.article_detail(request,