Opened 16 years ago
Closed 16 years ago
#10511 closed (duplicate)
get_prep_value isn't called on QuerySet.update()
Description ¶
I had to note that get_prep_value() isn't called when calling QuerySet's update() method. This is a problem, since for example the DateTimeField calls value_to_db_datetime() which truncated milliseconds when using MySQL. Otherwise you get warning from the database server.
Note:
See TracTickets
for help on using tickets.
Duplicate of #10411, which is already fixed in svn.