1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Alphabetized imports in various docs.

Follow-up of d97cce3409 and 7d3fe36c62.
This commit is contained in:
Mariusz Felisiak
2018-05-12 19:37:42 +02:00
committed by GitHub
parent 1b7d524cfa
commit 35319bf12c
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]