Django and PostgreSQL: naive datetime conversion at the application-database boundary
Integration goal Determine how Django converts a naive datetime submitted through a model form into a PostgreSQL timestamptz value when USE_TZ is True. Boundary uncertainty Django interprets naive input as local time in settings.TIME_ZONE, while PostgreSQL stores timestamptz internally in UTC. It is unclear whether Django's database adapter localizes the nai