1👍
✅
okay, I got it. All I needed to do was include # -*- coding: utf-8 -*-
in the django view as well and that solved it!
1👍
Try putting that line at the top of your file. According to PEP 263, it has to be in the top two lines.
👤Dave
- [Answered ]-Admin and Meta don't see the fields of parent abstract classes
- [Answered ]-Django Admin Inline objects
- [Answered ]-Heroku + Django migrate command doesn’t create any table
- [Answered ]-Does Django pick template changes when DEBUG=False? Yes, but HOW?
Source:stackexchange.com