Opened 6 years ago

Closed 6 years ago

#17808 closed Cleanup/optimization (fixed)

Improve the warning when fixtures containing naive datetimes are loaded with USE_TZ = True

Reported by: Aymeric Augustin Owned by: Aymeric Augustin
Component: Documentation Version: 1.4-beta-1
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Change History (3)

comment:1 Changed 6 years ago by Aymeric Augustin

Description: modified (diff)

comment:2 Changed 6 years ago by Aymeric Augustin

This warning is emitted at the database layer. I can't provide a more specific error message in the serialization layer without breaking its architecture.

I'm going to add a note in the "Migration guide" of the time zone docs, and maybe also in the upcoming FAQ (#17738).

comment:3 Changed 6 years ago by Aymeric Augustin

Resolution: fixed
Status: newclosed

In [17637]:

Fixed #17808 -- Explained why fixtures can trigger RuntimeWarnings after enabling time zone support, and how to fix them.

Note: See TracTickets for help on using tickets.
Back to Top