Code

Ticket #10551: 10551.diff

File 10551.diff, 951 bytes (added by ramiro, 5 years ago)

Trivial patch

Line 
1diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
2--- a/docs/topics/forms/modelforms.txt
3+++ b/docs/topics/forms/modelforms.txt
4@@ -69,11 +69,11 @@
5     ``PositiveSmallIntegerField``    ``IntegerField``
6     ``SlugField``                    ``SlugField``
7     ``SmallIntegerField``            ``IntegerField``
8-    ``TextField``                    ``CharField`` with ``widget=Textarea``
9+    ``TextField``                    ``CharField`` with ``widget=forms.Textarea``
10     ``TimeField``                    ``TimeField``
11     ``URLField``                     ``URLField`` with ``verify_exists`` set
12                                      to the model field's ``verify_exists``
13-    ``XMLField``                     ``CharField`` with ``widget=Textarea``
14+    ``XMLField``                     ``CharField`` with ``widget=forms.Textarea``
15     ===============================  ========================================
16 
17