From e33274aa858f95be328ec70c743909550f64cd42 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 --- 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