X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c7ff3149aa25aeda0a53ffa05761947a2e806484..08e687e53ba84afd39646185142e59c6bfe77783:/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