#24894: Add CURRENT_TIMESTAMP function to contrib.postgres
----------------------------------+--------------------------------------
Reporter: adamchainz | Owner: adamchainz
Type: New feature | Status: new
Component: contrib.postgres | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by adamchainz):
Expressions as defaults don't work, they would need at least #24509 (Allow
Expressions when saving new models) to be done. I've had a look at it and
it's quite complicated.
I'll add the document pointers to the patch now, it was originally there
when this was part of the #24866 patch but I forgot to add it during
rebase.
--
Ticket URL: <https://code.djangoproject.com/ticket/24894#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.ff4980f273bd059f50d51694d7a03458%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.