Skip to content

Commit f1fcda0

Browse files
authored
Merge pull request #176 from rpkilby/django-six
Use Django's vendored 'six'
2 parents 3ec4484 + e6c0323 commit f1fcda0

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

requirements-test.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
six
21
psycopg2
3-
djangorestframework>=3.3
42
coverage==3.7.1 # rq.filter: >=3,<4
53
coveralls
64
django-filter>=0.15,<1.2

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
six
21
djangorestframework>=3.3,<3.9

rest_framework_gis/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import six # TODO Remove this along with GeoJsonDict when support for python 2.6/2.7 is dropped.
21
import json
32
from collections import OrderedDict
43

54
from django.contrib.gis.geos import GEOSGeometry, GEOSException
65
from django.contrib.gis.gdal import GDALException
76
from django.core.exceptions import ValidationError
7+
from django.utils import six # TODO Remove this along with GeoJsonDict when support for python 2.6/2.7 is dropped.
88
from django.utils.translation import ugettext_lazy as _
99
from rest_framework.fields import Field, SerializerMethodField
1010

0 commit comments

Comments
 (0)