Give the polls.urls in quotes like this.
"polls.urls"
Karan Mittal
On Wed 31 Jul, 2019, 4:50 PM Sammy Agrawal, <asammy211@gmail.com> wrote:
Still having this problem- no solution found--
On Tuesday, February 9, 2016 at 7:22:58 PM UTC-5, michaela...@gmail.com wrote:Hi,
I am running into the same problem as this:
http://stackoverflow.com/questions/30493018/404-error-in-writing-your-first-django-app-tutorial
Now I can just follow the Alasdair's recommendation and delete the polls/url.py file, but the tutorial is very clear about having two separate urls.py.
Is this a mistake in the tutorial?
I even copied and pasted the tutorials code and tried to run it and it still gave the same error:
ImportError: No module named 'polls.urls'
Very confusing for a first step tutorial, maybe this could be corrected if it is an issue?
Kind Regards
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/abb48a60-7ff7-445a-8468-616fc6f30ea2%40googlegroups.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO24gqzFRsz6iuhb0XTx6J4RJOy%3DW6q2cy8ND0%3DNausjk%2Bt%3DgQ%40mail.gmail.com.
No comments:
Post a Comment