jazzband/django-silk

raise codec error in execute_sql

Open

#157 geöffnet am 6. Jan. 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (3.958 Stars) (319 Forks)batch import
bughelp wanted

Beschreibung

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