only allow integer field to accept integers and strings, fixes #2835 #2836
I can't say I'm thrilled at the idea of doing type checking here, but I will point out that in Python 2 you also have to be able to handle
Django itself handles this by calling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.