Closed vigneshwrn9 closed 1 year ago
Hi There, would it be possible to add this line of code within the below files. This helps with Django4.0 and would also work with the older version.
From
from django.utils.translation import ugettext_lazy as _
To
try: from django.utils.translation import ugettext_lazy as _ except ImportError: from django.utils.translation import gettext_lazy as _
from django.conf.urls import url
try: from django.conf.urls import url except ImportError: from django.urls import re_path as url
@vigneshwrn9 Thanks for the suggestion. I have released the fix you can verify the same on latest version 0.5.7 .
@inforian Thank you for the quick fix! much appreciated
Hi There, would it be possible to add this line of code within the below files. This helps with Django4.0 and would also work with the older version.
From
To
From
To