Eran Zimmerman-Gonen

Results 13 comments of Eran Zimmerman-Gonen

I do remember fixing it, but unfortunately I don't remember how... I do remember that I overrode the createsuperuser command, but I don't remember if that was necessary for the...

You can define a function to be open in python2 and open with errors='replace' in python3, then use that function instead of calling open directly.

Alternatively, you can add a command line flag that shouldn't be used in python2. e.g. --encoding-errors replace (which will pass errors='replace'), and if that flag isn't given - the default...