joestump / django-ajax

A simple framework for creating AJAX endpoints in Django.
http://github.com/joestump/django-ajax
BSD 3-Clause "New" or "Revised" License
260 stars 54 forks source link

Updating a DatetimeField #64

Open Zundrium opened 9 years ago

Zundrium commented 9 years ago

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?

Any help appriciated.