X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a409c6cc6901eea44c2cbe3a49038eb21f2db18d..739f55be14e161e485b2107b628689c4f01ded6b:/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