jazzband/django-silk

raise codec error in execute_sql

Open

#157 opened on Jan 6, 2017

 (1 comment) (0 reactions) (0 assignees)Python (319 forks)batch import
bughelp wanted

Repository metrics

Stars
 (3,958 stars)
PR merge metrics
 (PR metrics pending)

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