mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Fixed #19885 -- cleaned up the django.test namespace
* override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
This commit is contained in:
parent
a52cc1c088
commit
9d700322b3
20 changed files with 49 additions and 58 deletions
|
|
@ -6,7 +6,8 @@ import re
|
|||
|
||||
from django.db import connection
|
||||
from django.db.models import Avg, Sum, Count, Max, Min
|
||||
from django.test import TestCase, Approximate
|
||||
from django.test import TestCase
|
||||
from django.test.utils import Approximate
|
||||
from django.test.utils import CaptureQueriesContext
|
||||
|
||||
from .models import Author, Publisher, Book, Store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue