django-rest-framework-msgpack icon indicating copy to clipboard operation
django-rest-framework-msgpack copied to clipboard

Replace deprecated `django.utils.six` module with `six` library

Open bartmika opened this issue 4 years ago • 6 comments

I upgrade Django to version 3 and this library creates the following error:

ImportError: Could not import 'rest_framework_msgpack.parsers.MessagePackParser' for API setting 'DEFAULT_PARSER_CLASSES'. ModuleNotFoundError: No module named 'django.utils.six'.

Having investigated this issue, the problem is here: https://github.com/juanriaza/django-rest-framework-msgpack/blob/96f09b36174c7c541d041b18bb020abc8f145aa9/rest_framework_msgpack/parsers.py#L4

May you please change django.utils.six module with six library to fix this issue?

Thank you!

bartmika avatar Mar 26 '20 01:03 bartmika

+1

rodolfomartinez avatar Mar 26 '20 01:03 rodolfomartinez

+1

artel1992 avatar May 06 '20 15:05 artel1992

+1

johnanthonyjose avatar Jun 02 '20 15:06 johnanthonyjose

+1

juby-gif avatar Jun 03 '20 02:06 juby-gif

+1

DavidTF85 avatar Jun 08 '20 16:06 DavidTF85

+1

killswitch-GUI avatar Dec 10 '20 03:12 killswitch-GUI