Opened 12 years ago

Closed 12 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

Description (last modified by Aymeric Augustin)

As discussed on django-developers.

Change History (3)

comment:1 by Aymeric Augustin, 12 years ago

Description: modified (diff)

comment:2 by Aymeric Augustin, 12 years ago

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 by Aymeric Augustin, 12 years ago

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