1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #24894 -- Added contrib.postgres.functions.TransactionNow

This commit is contained in:
Adam Chainz
2015-06-01 18:00:34 +01:00
committed by Tim Graham
parent 3872a33132
commit d34d39ade7
8 changed files with 96 additions and 1 deletions

View File

@@ -109,3 +109,7 @@ class StatTestModel(models.Model):
int1 = models.IntegerField()
int2 = models.IntegerField()
related_field = models.ForeignKey(AggregateTestModel, null=True)
class NowTestModel(models.Model):
when = models.DateTimeField(null=True, default=None)