Skip to content

Commit dc3b446

Browse files
author
Jesse Shapiro
committed
Switch ugettext to ugettext_lazy in models.py
1 parent dac00e0 commit dc3b446

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Authors
3838
- Lucas Wiman
3939
- Michael England
4040
- Gregory Bataille
41+
- Jesse Shapiro
4142

4243
Background
4344
==========

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changes
22
=======
33

4+
Unreleased
5+
----------
6+
- Change ugettext calls in models.py to ugettext_lazy
7+
48
1.9.0 (2017-06-11)
59
------------------
610
- Add --batchsize option to the populate_history management command. (gh-231)

simple_history/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from django.utils import six
1212
from django.utils.encoding import python_2_unicode_compatible, smart_text
1313
from django.utils.timezone import now
14-
from django.utils.translation import string_concat, ugettext as _
14+
from django.utils.translation import string_concat, ugettext_lazy as _
1515

1616
from . import exceptions
1717
from .manager import HistoryDescriptor

0 commit comments

Comments
 (0)