2👍
Seems to be an odd behavior when Django replaces contents to apply the query filter.
Maybe it worths trying this:
locations = [u’\’San Francisco\”, u’\’New York\”]
0👍
Unfortunately, that’s a known limitation of the Django queryset query
attribute. The Django devs only provide that for debugging, and have refused to modify it to reflect the actual database backend, so it won’t properly escape certain datatypes correctly.
- [Answered ]-Django Running on uWSGI with NGiNX – INI Method Not Working
- [Answered ]-Django: mobile browser doesn't trigger download instead loads the file into browser
- [Answered ]-Django JWT asking for username/password
Source:stackexchange.com