1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +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

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