Report this

What is the reason for this report?

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

Posted on July 28, 2020

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’]



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.