Skip to content
Snippets Groups Projects
Verified Commit 2463591a authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Replace ugettext_lazy by gettext_lazy. Advances #224

parent 04c32e55
No related branches found
No related tags found
1 merge request!222Resolve "ugettext_lazy deprecated"
Pipeline #1334 failed
......@@ -6,7 +6,7 @@ from django.contrib.auth import get_user_model
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ValidationError
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django_select2.forms import ModelSelect2MultipleWidget, Select2Widget
from material import Layout, Fieldset, Row
......
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
MENUS = {
"NAV_MENU_CORE": [
......
......@@ -9,7 +9,7 @@ from django.db import models
from django.db.models import QuerySet
from django.forms.widgets import Media
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from image_cropping import ImageCropField, ImageRatioField
from phonenumber_field.modelfields import PhoneNumberField
from polymorphic.models import PolymorphicModel
......
......@@ -4,7 +4,7 @@ from django.contrib.auth.decorators import login_required
from django.core.exceptions import PermissionDenied
from django.http import Http404, HttpRequest, HttpResponse
from django.shortcuts import get_object_or_404, redirect, render
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django_tables2 import RequestConfig
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment