diff options
author | Nick Pope <nick.pope@flightdataservices.com> | 2019-08-20 08:54:41 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-02-04 13:20:06 +0100 |
commit | 335c9c94acf263901fb023404408880245b0c4b4 (patch) | |
tree | 691e9683de6c9840cd0a9a097d020c499ea735db /tests/delete | |
parent | 469bf2db15597f2c87cb0f8f64132056d2467f15 (diff) | |
download | django-335c9c94acf263901fb023404408880245b0c4b4.tar.gz |
Simplified imports from django.db and django.contrib.gis.db.
Diffstat (limited to 'tests/delete')
-rw-r--r-- | tests/delete/tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/delete/tests.py b/tests/delete/tests.py index 1731342bc1..d8424670c9 100644 --- a/tests/delete/tests.py +++ b/tests/delete/tests.py @@ -1,9 +1,8 @@ from math import ceil from django.db import connection, models -from django.db.models.deletion import ( - Collector, ProtectedError, RestrictedError, -) +from django.db.models import ProtectedError, RestrictedError +from django.db.models.deletion import Collector from django.db.models.sql.constants import GET_ITERATOR_CHUNK_SIZE from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature |