labd / django-cognito-jwt

An Authentication backend for Django Rest Framework for AWS Cognito JWT tokens
MIT License
179 stars 59 forks source link

Replace ugettext and smart_text with proper functions for Django 4 compatibility #39

Closed MichelML closed 2 years ago

MichelML commented 2 years ago

see ref for removal of these two util functions here https://docs.djangoproject.com/en/4.0/releases/4.0/#features-removed-in-4-0 see ref for smart_text replacement here https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.encoding.smart_text