Wednesday, March 28, 2018

Re: Django tutorial 2.0 problem on admin site

Thank you. You are right there are problems in both my mysite/urls.py and polls/urls.py. I fixed it by following the tutorial.

On Wednesday, March 28, 2018 at 10:35:01 AM UTC-7, Daniel Hepper wrote:
My guess is that there is a problem with your URL definition.

Double-check your mysite/urls.py and polls/urls.py

When in doubt, post the source of both files (preferably as text, not screenshot).

Hope that helps,
Daniel

On Wednesday, March 28, 2018 at 6:25:12 PM UTC+2, Zhizhong Kang wrote:
Hey guys what's up. I've got problem on the poll app in the admin site. For now I can enter the admin site and poll app is displayed.













However, when I clicked the 'Question', I didn't get the change lists page for Question. My admin.py is the same as the tutorial admin.py.

                      



The env is python3 + django 2.0.3 + macOS 10.12.6.






--
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/6ce2ac8c-dec5-48af-afa4-d3ba490abbdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment