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()