Opened 4 years ago

Closed 3 years ago

#17808 closed Cleanup/optimization (fixed)

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

Reported by: aaugustin Owned by: aaugustin
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 3 years ago by aaugustin

  • Description modified (diff)

comment:2 Changed 3 years ago by aaugustin

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 3 years ago by aaugustin

  • Resolution set to fixed
  • Status changed from new to closed

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