Create Admin User Error - "CSRF verification failed. Request aborted."
I have installed a version of Askbot on my local machine (Mac OSX). It works fine, except that it won't let me lot into the admin at all, so I cannot create an admin user.
I get the message "CSRF verification failed. Request aborted." when I try to log into admin/create a user profile.
I see previous threads suggest this is due to to mis-configuration of
CSRF_COOKIE_DOMAIN in settings.py. I have set this to 'localhost' -- this obviously is not working.
A separate thread on Django suggested I solve the problem by adding two lines to settings.py Middleware section -- this did not work either:
Any suggestions for me?