#37137: Replace raw SQL suggestion in TIME_ZONE docs
--------------------------------------+------------------------------------
Reporter: Jacob Walls | Owner: Vishy
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: postgresql, timezone | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Natalia Bidart):
* stage: Unreviewed => Accepted
Comment:
Spot on Jacob, thank you! Are we targeting something like this:
{{{#!python
class TimeZone(Func):
function = "timezone"
output_field = DateTimeField()
}}}
Ideally we would also include a minimal usage example and have a cross-
reference to the `Func` docs and a note that this is PostgreSQL-specific.
--
Ticket URL: <https://code.djangoproject.com/ticket/37137#comment:2>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e8f95d10d-228ff136-f9c1-415a-9eac-382bd98c278f-000000%40eu-central-1.amazonses.com.