#17830: DateFieldListFilter "Past 7 days" filter uses naive datetime when USE_TZ is set. ------------------------------------------------+------------------------ Reporter: Glenn Washburn <development@…> | Owner: nobody Type: Bug | Status: new Component: contrib.admin | Version: 1.4-beta-1 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------------------------+------------------------ The "Past 7 days" link for the DateFieldListFilter always contains a serialized naive datetime. This becomes a problem when USE_TZ is set because that value with get parsed back into a naive datetime and used directly in a QuerySet.filter call. The warning about using a naive data time will be raised.
-- Ticket URL: <https://code.djangoproject.com/ticket/17830> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.