Skip to content

Commit 7fc4731

Browse files
committed
Fix deprecated Django API
Signed-off-by: Yassine Ilmi <[email protected]>
1 parent 3388f88 commit 7fc4731

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)