Remove outdated workaround for OrderedDict

collections.OrderedDict is available on all supported Pythons
This commit is contained in:
Jon Dufresne 2018-11-04 17:15:57 -08:00
parent ec568b5ad9
commit b0d65cfdaf
1 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,7 @@
from __future__ import unicode_literals
import tablib
from collections import OrderedDict
from copy import deepcopy
from datetime import date
from decimal import Decimal
@ -24,11 +25,6 @@ from ..models import (
WithFloatField, Person, Role
)
try:
from collections import OrderedDict
except ImportError:
from django.utils.datastructures import SortedDict as OrderedDict
try:
from django.utils.encoding import force_text
except ImportError: