mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-08 18:44:53 +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
|
CHANGES
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
3.4.0 (unreleased)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
- Remove hacks for previously supported Django versions. (Fixes GH-390)
|
||||||
|
|
||||||
3.3.0 (2019.08.19)
|
3.3.0 (2019.08.19)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
- Added `Choices.subset`.
|
- Added `Choices.subset`.
|
||||||
|
|
||||||
3.2.0 (2019.06.21)
|
3.2.0 (2019.06.21)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import django
|
|
||||||
from django.core.exceptions import ImproperlyConfigured
|
from django.core.exceptions import ImproperlyConfigured
|
||||||
from django.db import models, transaction, router
|
from django.db import models, transaction, router
|
||||||
from django.db.models.signals import post_save, pre_save
|
from django.db.models.signals import post_save, pre_save
|
||||||
|
|
@ -18,7 +17,8 @@ from model_utils.managers import (
|
||||||
SoftDeletableManager,
|
SoftDeletableManager,
|
||||||
)
|
)
|
||||||
|
|
||||||
from django.utils.timezone import now
|
from django.db.models.functions import Now
|
||||||
|
now = Now()
|
||||||
|
|
||||||
|
|
||||||
class TimeStampedModel(models.Model):
|
class TimeStampedModel(models.Model):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue