From 7fc4731fe5b0101e6de9119661a0dc9b261ac164 Mon Sep 17 00:00:00 2001 From: Yassine Ilmi <9211413+yilmi@users.noreply.github.com> Date: Mon, 24 Jan 2022 21:10:23 +0100 Subject: [PATCH] Fix deprecated Django API Signed-off-by: Yassine Ilmi <9211413+yilmi@users.noreply.github.com> --- vulnerabilities/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulnerabilities/models.py b/vulnerabilities/models.py index 6a5bee5ef..e76c2a1c3 100644 --- a/vulnerabilities/models.py +++ b/vulnerabilities/models.py @@ -25,7 +25,7 @@ from django.db import models from django.core.exceptions import ValidationError -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from packageurl.contrib.django.models import PackageURLMixin from packageurl import PackageURL