Exception: EmailFeedSetting matching query does not exist
I get an EmailFeedSetting exception in models/__init__.py: user_get_q_sel_email_feed_frequency This happened when I went to the user profile and clicked on the user's answer.
The user's email field is empty. There is also no entry in the askbot_emailfeedsetting for this user.
Note that the user was created with a call to User.object.get_or_create(username=xxx, first_name=xxx, last_name=xxx, email=xxx)
If I go to the profile's subscription tab and select "update", this exception disappears. Is there another call I need to make the I use User.object.get_or_create to set the email feed settings?
Comments