* status: new => closed
* cc: Florian Apolloner (added)
* resolution: => invalid
* summary: Timezone unaware datetimes and psycopg 3 => Range dumper
assumes timezone aware datetimes.
* keywords: => psycopg3
* type: Uncategorized => Bug
Comment:
Thanks for the report. As far as I'm aware, there is no way in the dumper
to detect that you're using `tsrange` and change the behavior. You should
be able to use
[https://www.psycopg.org/psycopg3/docs/api/adapt.html#psycopg.adapt.AdaptersMap.register_dumper
register_dumper()] to override the dumper.
--
Ticket URL: <https://code.djangoproject.com/ticket/35193#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.