Skip to content

Commit e9ec7fd

Browse files
authored
Merge pull request #73 from akx/no-extra-six
Use the `six` bundled with Django
2 parents 0a4d786 + 9ba1b58 commit e9ec7fd

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

enumfields/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from enum import Enum
22

3-
import six
3+
from django.utils import six
44
from django.core.exceptions import ValidationError
55
from django.db import models
66
from django.db.models.fields import BLANK_CHOICE_DASH

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def run_tests(self):
5252
'Programming Language :: Python :: 3.6',
5353
'Topic :: Internet :: WWW/HTTP',
5454
],
55-
install_requires=['six'],
5655
tests_require=[
5756
'pytest-django',
5857
'Django',

tests/test_enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import unicode_literals
33

44
import pytest
5-
import six
5+
from django.utils import six
66
from django.core.exceptions import ValidationError
77
from django.forms import BaseForm
88

tests/test_form_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -- encoding: UTF-8 --
22
import pytest
3-
import six
3+
from django.utils import six
44
from django.db.models import BLANK_CHOICE_DASH
55
from django.forms.models import modelform_factory, model_to_dict
66

0 commit comments

Comments
 (0)