mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Satisfy deprecation warning under Django 3.0.3
This commit is contained in:
parent
3e32ae257b
commit
6fba04ec4f
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ CHANGES
|
|||
- `FieldTracker` now marks fields as not changed after `refresh_from_db`
|
||||
- `FieldTracker` now respects `update_fields` changed in overridden `save()`
|
||||
method
|
||||
- Replace ugettext_lazy with gettext_lazy to satisfy Django deprecation warning
|
||||
|
||||
4.0.0 (2019-12-11)
|
||||
------------------
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from django.core.exceptions import ImproperlyConfigured
|
||||
from django.db import models, transaction, router
|
||||
from django.db.models.signals import post_save, pre_save
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from model_utils.fields import (
|
||||
AutoCreatedField,
|
||||
|
|
|
|||
Loading…
Reference in a new issue