Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

'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()