ugettext_lazy has been removed in Django 4.0

This commit is contained in:
OMAR AIT BENHADDI 2022-08-13 06:33:33 +02:00 committed by GitHub
parent c447f0ddf6
commit 9147c72190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ from django.conf import settings
from django.contrib.auth import get_user_model
from django.core.exceptions import ObjectDoesNotExist
from django.utils.decorators import method_decorator
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django.views.decorators.debug import sensitive_post_parameters
from rest_framework import status