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/many_to_one | |
| parent | 469bf2db15597f2c87cb0f8f64132056d2467f15 (diff) | |
Simplified imports from django.db and django.contrib.gis.db.
Diffstat (limited to 'tests/many_to_one')
| -rw-r--r-- | tests/many_to_one/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/many_to_one/tests.py b/tests/many_to_one/tests.py index a926574b15..d769b206b9 100644 --- a/tests/many_to_one/tests.py +++ b/tests/many_to_one/tests.py @@ -2,8 +2,7 @@ import datetime from copy import deepcopy from django.core.exceptions import FieldError, MultipleObjectsReturned -from django.db import models, transaction -from django.db.utils import IntegrityError +from django.db import IntegrityError, models, transaction from django.test import TestCase from django.utils.translation import gettext_lazy |
