diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 0123380..2f40b6f 100644
a
|
b
|
how they work. Each ``Field`` instance has a ``clean()`` method, which takes
|
23 | 23 | a single argument and either raises a ``django.forms.ValidationError`` |
24 | 24 | exception or returns the clean value:: |
25 | 25 | |
| 26 | >>> from django import forms |
26 | 27 | >>> f = forms.EmailField() |
27 | 28 | >>> f.clean('foo@example.com') |
28 | 29 | u'foo@example.com' |
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index c9cc292..9708ca6 100644
a
|
b
|
built-in Field classes.
|
107 | 107 | However, if you want to use a different widget for a field, you can - |
108 | 108 | just use the 'widget' argument on the field definition. For example:: |
109 | 109 | |
| 110 | from djang import forms |
| 111 | |
110 | 112 | class CommentForm(forms.Form): |
111 | 113 | name = forms.CharField() |
112 | 114 | url = forms.URLField() |