X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8a9226b9c80c99c82702fba212f7a7241dc14c7e..a9b4700e3cd649a6dddc3b72dc0bd632f7841c74:/src/documents/models/image.py diff --git a/src/documents/models/image.py b/src/documents/models/image.py index b05c9288..fd3d8c41 100644 --- a/src/documents/models/image.py +++ b/src/documents/models/image.py @@ -6,7 +6,7 @@ from django.contrib.sites.models import Site from django.db import models from django.template.loader import render_to_string from django.urls import reverse -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from documents.helpers import cached_in_field from documents.models import Project from dvcs import models as dvcs_models