diff --git a/bookwyrm/views/password.py b/bookwyrm/views/password.py index 18fcb02cd..6d202ce24 100644 --- a/bookwyrm/views/password.py +++ b/bookwyrm/views/password.py @@ -5,7 +5,7 @@ from django.core.exceptions import PermissionDenied from django.shortcuts import redirect from django.template.response import TemplateResponse from django.utils.decorators import method_decorator -from django.utils.translation import gettext as _ +from django.utils.translation import gettext_lazy as _ from django.views import View from bookwyrm import models diff --git a/bookwyrm/views/shelf.py b/bookwyrm/views/shelf.py index e9ad074d1..ba9f6a3c1 100644 --- a/bookwyrm/views/shelf.py +++ b/bookwyrm/views/shelf.py @@ -9,7 +9,7 @@ from django.http import HttpResponseBadRequest, HttpResponseNotFound from django.shortcuts import get_object_or_404, redirect from django.template.response import TemplateResponse from django.utils.decorators import method_decorator -from django.utils.translation import gettext as _ +from django.utils.translation import gettext_lazy as _ from django.views import View from django.views.decorators.http import require_POST