diff options
| author | David Smith <smithdc@gmail.com> | 2021-07-23 07:48:16 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-07-29 06:24:12 +0200 |
| commit | 1024b5e74a7166313ad4e4975a15e90dccd3ec5f (patch) | |
| tree | 05d75177f183de5e3c58dbf25a3f71ff4a5c820a /docs/topics/http/views.txt | |
| parent | acde91745656a852a15db7611c08cabf93bb735b (diff) | |
Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate.
Diffstat (limited to 'docs/topics/http/views.txt')
| -rw-r--r-- | docs/topics/http/views.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/http/views.txt b/docs/topics/http/views.txt index 656d1ce155..c1b6e93f34 100644 --- a/docs/topics/http/views.txt +++ b/docs/topics/http/views.txt @@ -3,8 +3,8 @@ Writing views ============= A view function, or *view* for short, is a Python function that takes a -Web request and returns a Web response. This response can be the HTML contents -of a Web page, or a redirect, or a 404 error, or an XML document, or an image . +web request and returns a web response. This response can be the HTML contents +of a web page, or a redirect, or a 404 error, or an XML document, or an image . . . or anything, really. The view itself contains whatever arbitrary logic is necessary to return that response. This code can live anywhere you want, as long as it's on your Python path. There's no other requirement--no "magic," so to @@ -137,7 +137,7 @@ template. Customizing error views ======================= -The default error views in Django should suffice for most Web applications, +The default error views in Django should suffice for most web applications, but can easily be overridden if you need any custom behavior. Specify the handlers as seen below in your URLconf (setting them anywhere else will have no effect). |
