Skip to content

Commit ed21316

Browse files
authored
Merge pull request #592 from yilmi/fix_django_ugettext_lazy_deprecation
Fix deprecated Django API Signed-off-by: Philippe Ombredanne <[email protected]>
2 parents 3388f88 + 7fc4731 commit ed21316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
from django.db import models
2727
from django.core.exceptions import ValidationError
28-
from django.utils.translation import ugettext_lazy as _
28+
from django.utils.translation import gettext_lazy as _
2929
from packageurl.contrib.django.models import PackageURLMixin
3030
from packageurl import PackageURL
3131

0 commit comments

Comments
 (0)