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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 71 additions and 71 deletions

View file

@ -38,7 +38,7 @@ Example
The following is a simple unit test using the request factory::
from django.contrib.auth.models import AnonymousUser, User
from django.test import TestCase, RequestFactory
from django.test import RequestFactory, TestCase
from .views import MyView, my_view

View file

@ -1023,7 +1023,7 @@ If you want to use a different ``Client`` class (for example, a subclass
with customized behavior), use the :attr:`~SimpleTestCase.client_class` class
attribute::
from django.test import TestCase, Client
from django.test import Client, TestCase
class MyTestClient(Client):
# Specialized methods for your environment