mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Alphabetized imports in various docs.
Follow-up ofd97cce3409
and7d3fe36c62
.
This commit is contained in:
parent
1b7d524cfa
commit
35319bf12c
36 changed files with 71 additions and 71 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue