Question

how to solve the key error in index.html the_weather?

https://www.digitalocean.com/community/questions/new?tags=Django%2CPython%2CDevelopment

in this tutorial i followed same your instructions , when i run server i got key error for index file weather dict [‘main’]

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @mspand008,

Can you share a link to the exact tutorial that you followed? The link that you shared only goes to the new question create page.

I can then try to further advise you.

Regards, Bobby