/mysite/blog/urls.py, line 2 is bad syntax and should probably read:

from .views import *

You should also be seeing some kind of error from your webserver (are you running the site using runserver first?) which would give you a clue where the problem is.

John

On 19/01/2020 16:03, amanda wrote:
Hello,
I am new to Django, i follow a book : Django by Example 2. i install a blog, it show blog post list, but when i click post title, it does not go to post detail.html page.
anyone can tell me where i can wrong?
Thank you very much!



--
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+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2fb56c3c-6eb6-46c9-9162-548a65b3c781%40googlegroups.com <https://groups.google.com/d/msgid/django-users/2fb56c3c-6eb6-46c9-9162-548a65b3c781%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9f1dd5cc-6125-78e0-ec0f-a4f58b8aab62%40martinhome.org.uk.

Reply via email to