[Answer]-Django, path to template encoding

0👍

Turns out that I was using #coding UTF-8 comment but, switching to #encoding UTF-8 seems to solve the problem

1👍

When you write non-ASCII string literals in source files, you need to set the literal encoding in the # coding comment. If your file is in thr UTF8 encoding you need to write # coding: utf-8, not #coding iso8859-1.

👤wRAR

Leave a comment