[Fixed]-Error: coercing to Unicode: need string or buffer, long found

1👍

The problem seems to be in your Holyday model’s str or unicode method. Those methods should return resp. a string or unicode object, it looks like it’s returning a long (possibly the pk – wild guess…)

Leave a comment