Groups
Sign in
Groups
Django users
Conversations
About
Send feedback
Help
Django tutorial 2.0 problem on admin site
29 views
Skip to first unread message
Zhizhong Kang
unread,
Mar 28, 2018, 12:25:12 PM
3/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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.
Daniel Hepper
unread,
Mar 28, 2018, 1:35:01 PM
3/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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
Zhizhong Kang
unread,
Mar 28, 2018, 2:53:39 PM
3/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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.
Reply all
Reply to author
Forward
0 new messages