Admin site in Django 1.8 tutorial giving CSRF errors
123 views
Skip to first unread message
David Riddle
unread,
May 6, 2015, 4:04:28 PM5/6/15
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...@googlegroups.com
Hi,
I am working through the Django 1.8 tutorial. I finished part one and
am starting on part 2. I created an admin user but when I login to the
/admin page I receive a 403 Error because CSRF verification failed.
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...@googlegroups.com
Hey,
You shouldn't see these errors since the templates with the form
and so the CSRF token are generated from the contrib app admin.
Could you provide us more details of the error? Did you override
the admin templates?
Thanks,
aRkadeFR
--
aRkadeFR
David Riddle
unread,
May 7, 2015, 11:37:10 AM5/7/15
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...@googlegroups.com
No I have not made any changes to the admin templates. I simply
followed the instructions in the tutorial. I am using Django's
runserver per the tutorial instructions. I am totally stumped.