Skip to content

Commit 4eb522d

Browse files
committed
Moving from django.utils.six to six
1 parent 5bfd60a commit 4eb522d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ajax_select/fields.py

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

33
import json
4+
from six import text_type
45
from django import forms
56
from django.conf import settings
67
from django.contrib.contenttypes.models import ContentType
@@ -11,7 +12,6 @@
1112
from django.utils.encoding import force_text
1213
from django.utils.module_loading import import_string
1314
from django.utils.safestring import mark_safe
14-
from django.utils.six import text_type
1515
from django.utils.translation import ugettext as _
1616

1717
from ajax_select.registry import registry

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
description="Edit ForeignKey, ManyToManyField and CharField in Django Admin using jQuery UI AutoComplete.",
99
author="Chris Sattinger",
1010
author_email="[email protected]",
11+
install_requires=["six"],
1112
url="https://github.com/crucialfelix/django-ajax-selects/",
1213
packages=["ajax_select"],
1314
package_data={

0 commit comments

Comments
 (0)