Hi, It worked in production environment well, just not in development environment.
- Mikko la 13. lokak. 2018 klo 17.39 Mikko Meronen (mikkovillemero...@gmail.com) kirjoitti: > Hi, > > I'm trying to embed Instagram to my development site by using a Instagram > embedding code, but when I add it to my html, I get the error below. > > I would appreciate a lot if someone could help me to understand the error > and solve the problem. > > Best regards, > > - Mikko > > UnicodeDecodeError at /news/ > > 'utf-8' codec can't decode byte 0xe4 in position 7333: invalid continuation > byte > > Request Method: GET > Request URL: http://127.0.0.1:8000/news/ > Django Version: 2.1 > Exception Type: UnicodeDecodeError > Exception Value: > > 'utf-8' codec can't decode byte 0xe4 in position 7333: invalid continuation > byte > > Exception Location: C:\Users\Mikko\django-project\lib\codecs.py in > decode, line 321 > Python Executable: C:\Users\Mikko\django-project\Scripts\python.exe > Python Version: 3.6.4 > Python Path: > > ['C:\\Users\\Mikko\\django-project\\topi', > 'C:\\Users\\Mikko\\django-project\\Scripts\\python36.zip', > 'C:\\Users\\Mikko\\django-project\\DLLs', > 'C:\\Users\\Mikko\\django-project\\lib', > 'C:\\Users\\Mikko \\django-project\\Scripts', > 'c:\\python36-32\\Lib', > 'c:\\python36-32\\DLLs', > 'C:\\Users\\Mikko\\django-project', > 'C:\\Users\\Mikko\\django-project\\lib\\site-packages'] > > Server time: Sat, 13 Oct 2018 14:25:38 +0000 > Unicode error hint > > The string that could not be encoded/decoded was: *;"> N�yt� t* > Error during template rendering > > In template > C:\Users\Mikko\django-project\topi\news\templates\news\home.html, error > at line *1* > utf-8 > 1 {% extends 'news/base.html' %} > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGD0jj%2BOn0d1mVx1Fq7B7-XEKQxPiBWT6QLts8sWrUkAFwUAng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.