diff --git a/CHANGES.rst b/CHANGES.rst index abd1a8e..b97922b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,8 +1,14 @@ CHANGES ======= +3.4.0 (unreleased) +------------------ + +- Remove hacks for previously supported Django versions. (Fixes GH-390) + 3.3.0 (2019.08.19) ------------------ + - Added `Choices.subset`. 3.2.0 (2019.06.21) diff --git a/model_utils/models.py b/model_utils/models.py index c93fe2d..50a83f3 100644 --- a/model_utils/models.py +++ b/model_utils/models.py @@ -1,6 +1,5 @@ from __future__ import unicode_literals -import django from django.core.exceptions import ImproperlyConfigured from django.db import models, transaction, router from django.db.models.signals import post_save, pre_save @@ -18,7 +17,8 @@ from model_utils.managers import ( SoftDeletableManager, ) -from django.utils.timezone import now +from django.db.models.functions import Now +now = Now() class TimeStampedModel(models.Model):