jazzband/django-silk

raise codec error in execute_sql

Open

#157 opened on Jan 6, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (3,958 stars) (319 forks)batch import
bughelp wanted

Description

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.

Contributor guide