Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise codec error in execute_sql #157

Open
mapher87 opened this issue Jan 6, 2017 · 1 comment
Open

raise codec error in execute_sql #157

mapher87 opened this issue Jan 6, 2017 · 1 comment

Comments

@mapher87
Copy link

mapher87 commented Jan 6, 2017

The statement would raise codec error when "params" contained non ASCII strings at sql.py:
sql_query = q % params
It's better to use django's force_text processing to handle it.

@avelis
Copy link
Collaborator

avelis commented Jan 6, 2017

@mapher87 Thanks for highlighting the issue. If you have the time, I more than welcome a PR that addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants