Skip to content

Commit 2e7d9d3

Browse files
erikvwRoss Mechanic
authored andcommitted
replace deprecated django.utils.six with six (#526)
* replace deprecated django.utils.six with six * update CHANGES * README * changes
1 parent 11fa04a commit 2e7d9d3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Changes
22
=======
33

4+
- remove reference to vendored library ``django.utils.six`` in favor of ``six`` (gh-526)
5+
46
2.7.0 (2019-01-16)
57
------------------
68
- Add support for ``using`` chained manager method and save/delete keyword argument (gh-507)

simple_history/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import copy
44
import importlib
5+
import six
56
import threading
67
import uuid
78
import warnings
@@ -15,7 +16,6 @@
1516
from django.db.models import Q
1617
from django.db.models.fields.proxy import OrderWrt
1718
from django.urls import reverse
18-
from django.utils import six
1919
from django.utils.encoding import python_2_unicode_compatible, smart_text
2020
from django.utils.text import format_lazy
2121
from django.utils.timezone import now

0 commit comments

Comments
 (0)