When I try to update a DateTimeField in an application with the setting USE_TZ = True the ModelEndpoint fails with the exception can't compare offset-naive and offset-aware datetimes.
How can this be fixed? Or is it a must to override the functions in this situation?
When I try to update a DateTimeField in an application with the setting
USE_TZ = True
theModelEndpoint
fails with the exceptioncan't compare offset-naive and offset-aware datetimes
.How can this be fixed? Or is it a must to override the functions in this situation?
Any help appriciated.