From 4a954cfd11a5d034491f87fcbc920eb97a302bb3 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Mon, 17 Jun 2019 16:54:55 +0200 Subject: 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. --- docs/ref/forms/widgets.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs/ref/forms/widgets.txt') diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index d649ece6ba..6b341620ee 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -34,8 +34,7 @@ which widget is used on which field, see the documentation about :ref:`built-in-fields`. However, if you want to use a different widget for a field, you can -just use the :attr:`~Field.widget` argument on the field definition. For -example:: +use the :attr:`~Field.widget` argument on the field definition. For example:: from django import forms @@ -127,7 +126,7 @@ need to specify additional attributes at the time when the widget object is instantiated and assigned to a form field (and perhaps add some rules to your CSS files). -For example, take the following simple form:: +For example, take the following form:: from django import forms @@ -770,8 +769,8 @@ that specifies the template used to render each choice. For example, for the If you decide not to loop over the radio buttons -- e.g., if your template - simply includes ``{{ myform.beatles }}`` -- they'll be output in a ``