[2.0.x] Alphabetized imports in various docs.

Follow-up of d97cce3409 and 7d3fe36c62.
Backport of 35319bf12c from master
This commit is contained in:
Mariusz Felisiak 2018-05-12 19:37:42 +02:00
parent 840c0ed13d
commit 80a53202d4
No known key found for this signature in database
GPG key ID: 2EF56372BA48CD1B
36 changed files with 71 additions and 71 deletions

View file

@ -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]