X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a409c6cc6901eea44c2cbe3a49038eb21f2db18d..0a7090f11131631647db366ff87976407e788412:/src/messaging/models.py diff --git a/src/messaging/models.py b/src/messaging/models.py index 7891e0c63..e1b26a8a0 100644 --- a/src/messaging/models.py +++ b/src/messaging/models.py @@ -6,7 +6,7 @@ from django.db import models from django.template import Template, Context from django.urls import reverse from django.utils.timezone import now, get_current_timezone -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from sentry_sdk import capture_exception from catalogue.utils import get_random_hash from .states import Level, states