diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-05-12 19:37:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-12 19:37:42 +0200 |
| commit | 35319bf12ccefe1911588493484160aa49208f89 (patch) | |
| tree | fe1cb029786e49622e6ba3af3ddf3dc9956502ff /docs/ref/forms | |
| parent | 1b7d524cfa7b7834af26c99407af66be6813938d (diff) | |
Alphabetized imports in various docs.
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/validation.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index 91e18e5b33..72af31d907 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -229,8 +229,8 @@ defined on the :class:`~django.forms.Field` class itself with the Simple validators can be used to validate values inside the field, let's have a look at Django's ``SlugField``:: - from django.forms import CharField from django.core import validators + from django.forms import CharField class SlugField(CharField): default_validators = [validators.validate_slug] |
