First time here? Check out the FAQ!

Revision history  [back]

'AnonymousUser' object has no attribute 'get_groups'

After enable user group, for anonymous user, it throws error below. Any idea?

askbot/models/question.py in get_latest_revision

posts_filter['groups__in'] = user.get_groups()