Skip to content

Commit

Permalink
Updated ugettext to gettext (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithdc1 committed Feb 5, 2020
1 parent afb794b commit 77f4ea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crispy_forms/tests/test_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from django.forms.models import formset_factory, modelformset_factory
from django.shortcuts import render
from django.template import Context, Template
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
from django.middleware.csrf import _get_new_csrf_string

Expand Down
2 changes: 1 addition & 1 deletion crispy_forms/tests/test_layout_objects.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django import forms, VERSION as DJANGO_VERSION
from django.template import Context, Template
from django.test.html import parse_html
from django.utils.translation import activate, deactivate, ugettext as _
from django.utils.translation import activate, deactivate, gettext as _

from crispy_forms.bootstrap import (
Accordion, AccordionGroup, Alert, AppendedText, FieldWithButtons,
Expand Down

0 comments on commit 77f4ea7

Please sign in to comment.