jbittel / django-mama-cas

A Django Central Authentication Service (CAS) single sign-on server
BSD 3-Clause "New" or "Revised" License
395 stars 112 forks source link

Modify the source of python_2_unicode_compatible #92

Closed zhao-dapeng closed 3 years ago

zhao-dapeng commented 4 years ago

Encoding import python_2_unicode_compatible has expired in django==3.0.1. Use the more generic from six import python_2_unicode_compatible instead

manelclos commented 3 years ago

Hi @zhao-dapeng thank you for raising this. Unfortunately the tests don't pass as it needs some other changes using six. Would merge https://github.com/jbittel/django-mama-cas/pull/101 instead, thanks!