If searchquery
is an integer that I am getting from a form; how do I convert it to string? As far as I understand this is the reason why the following code is not working (it works if searchquery
is a string:
p = Pet.all().filter('score =', self.request.get('searchquery')).fetch(10)
Thank you