From 1b7942af0032f1e6ba368e0028c48e3c7cfa0588 Mon Sep 17 00:00:00 2001 From: Jake Rosenberg Date: Wed, 25 Oct 2023 13:39:10 -0500 Subject: [PATCH] remove ugettext imports --- snowpenguin/django/recaptcha2/fields.py | 2 +- snowpenguin/django/recaptcha2/templatetags/recaptcha2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/snowpenguin/django/recaptcha2/fields.py b/snowpenguin/django/recaptcha2/fields.py index 6563e85..003c894 100644 --- a/snowpenguin/django/recaptcha2/fields.py +++ b/snowpenguin/django/recaptcha2/fields.py @@ -4,7 +4,7 @@ from django import forms from django.conf import settings from django.core.exceptions import ValidationError -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ import requests diff --git a/snowpenguin/django/recaptcha2/templatetags/recaptcha2.py b/snowpenguin/django/recaptcha2/templatetags/recaptcha2.py index 7928662..0edf489 100644 --- a/snowpenguin/django/recaptcha2/templatetags/recaptcha2.py +++ b/snowpenguin/django/recaptcha2/templatetags/recaptcha2.py @@ -2,7 +2,7 @@ from django import template from django.conf import settings -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ register = template.Library()