Ask Your Question

"auth.models.User is not saved, cant make cache key" error

asked 2019-02-23 06:07:26 -0500

eko's avatar

updated 2019-08-11 12:59:27 -0500

Evgeny's avatar

When asking a question without registration following error occured:

ValueError at /questions/ask/

auth.models.User is not saved, cant make cache key

Request Method:     POST
Request URL:    [host:port]/questions/ask/
Django Version:     1.8.19
Exception Type:     ValueError
Exception Value:    

auth.models.User is not saved, cant make cache key

Exception Location:     /usr/local/lib/python2.7/site-packages/askbot-0.10.2-py2.7.egg/askbot/models/ in get_profile_cache_key, line 15
Python Executable:  /usr/local/bin/python
Python Version:     2.7.15
Python Path:    


How to fix it? As a registered user asking a question was succesfull. I'm using Askbot version 0.10.2

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-11 12:59:13 -0500

Evgeny's avatar

Fixed in the master branch.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-02-23 06:07:26 -0500

Seen: 3,440 times

Last updated: Aug 11 '19