--- a/django_shortuuidfield.egg-info/requires.txt +++ b/django_shortuuidfield.egg-info/requires.txt @@ -1,3 +1,2 @@ django shortuuid -six \ No newline at end of file --- a/setup.py +++ b/setup.py @@ -11,7 +11,6 @@ install_requires=[ 'django', 'shortuuid', - 'six' ], packages=find_packages(), include_package_data=True, --- a/shortuuidfield/fields.py +++ b/shortuuidfield/fields.py @@ -1,5 +1,4 @@ import shortuuid -import six import sys from django.db.models import CharField @@ -32,7 +31,7 @@ value = super(ShortUUIDField, self).pre_save(model_instance, add) if self.auto and not value: # Assign a new value for this attribute if required. - value = six.text_type(shortuuid.uuid()) + value = str(shortuuid.uuid()) setattr(model_instance, self.attname, value) return value