Hay, my model is a through a "Data truncated for column 'password' at row 1" warning. This is fine, the data does get truncated, but it get fills back in by a different function later on.开发者_如何学运维
How can i get django a ignore this warning? I think it's called on the Save() method.
The warning you see there is from your backend database (looks like a mySQL warning to me).
I don't really think turning database level warnings off is a good idea. You should probably make sure the data is NOT being truncated instead - Why let the system take junk data?
精彩评论