On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > When I update the post using the admin interface, the history tells me that > the > 'pub_date' has been changed, even though I did not change it, and it still > looks > the same in the admin interface. Is this a rounding error connected to the > default date and time? The second time I edit the date is not listed as > changed.
You're correct -- this is a rounding error connected to the default date/time. The default date/time is set to datetime.datetime.now(), which is accurate to the millisecond (or maybe even microsecond?) level, whereas editing the date/time value via the form field is only accurate to the second. So Django things the value has changed. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org