mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
This commit is contained in:
parent
addabc492b
commit
4a954cfd11
149 changed files with 1101 additions and 1157 deletions
|
@ -71,7 +71,7 @@ if they are not already set by the view and if the request's method is safe
|
|||
(``GET`` or ``HEAD``).
|
||||
|
||||
Using this feature usefully is probably best explained with an example.
|
||||
Suppose you have this pair of models, representing a simple blog system::
|
||||
Suppose you have this pair of models, representing a small blog system::
|
||||
|
||||
import datetime
|
||||
from django.db import models
|
||||
|
@ -205,10 +205,9 @@ every time.
|
|||
Comparison with middleware conditional processing
|
||||
=================================================
|
||||
|
||||
Django provides simple and straightforward conditional ``GET`` handling via
|
||||
:class:`django.middleware.http.ConditionalGetMiddleware`. While being easy to
|
||||
use and suitable for many situations, the middleware has limitations for
|
||||
advanced usage:
|
||||
Django provides conditional ``GET`` handling via
|
||||
:class:`django.middleware.http.ConditionalGetMiddleware`. While being suitable
|
||||
for many situations, the middleware has limitations for advanced usage:
|
||||
|
||||
* It's applied globally to all views in your project.
|
||||
* It doesn't save you from generating the response, which may be expensive.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue