jazzband/django-silk

raise codec error in execute_sql

Aperta

#157 aperta il 6 gen 2017

 (1 commento) (0 reazioni) (0 assegnatari)Python (319 fork)batch import
bughelp wanted

Metriche repository

Star
 (3958 stelle)
Metriche merge PR
 (Merge medio 4h 49m) (1 PR mergiata in 30 g)

Descrizione

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.

Guida contributor