mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Add changelog.
This commit is contained in:
parent
e6c7b567d1
commit
c19ea5b04f
2 changed files with 8 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue