[Django]-Django Tutorial 3 – URL producing 404 error

2👍

Your view.py for polls must be in projectname/polls/ directory when first urls.py will be in projectname/projectname/.

Then, if you decide to configure and add more polls app specific urls, you can create urls.py in projectname/polls/.

Leave a comment