Sunday, February 25, 2018

Re: Running polls tutorial, see the error message "The empty path didn't match any of these."

Thank you Dylan! Now I see what's going on there.

Best,
Chunjing

On Saturday, February 24, 2018 at 4:56:10 PM UTC-8, Chunjing Jia wrote:
Hi,

I am running Django 2.0 tutorial01 for polls. I am seeing this error message 

Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:

  1. polls/
  2. admin/
The empty path didn't match any of these.

Without adding polls, my code works fine, and I can see the rocket and congratulation page. But after adding polls, I always get this error message. Even if I use the example code that I found from github with the all the correct setting... 

Does this mean that my installation for Python3 and Django 2.0 may be problematic? What other possibles error may be here? 

Thanks a lot!

Best,
CJ

--
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 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/c24ad298-b792-4381-afbd-2480349bd29b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment