]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/user.py
Accepting incoming merge of the jambazov feature branch. Mostly includes new bug...
[osqa.git] / forum / models / user.py
index 8ef201dc01cf9dce5e59c15ac8e1d308aa55d8b6..9d6324875f9273c6d9ab5da77290f7bb5c4645e9 100644 (file)
@@ -22,6 +22,8 @@ QUESTIONS_PER_PAGE_CHOICES = (
 )
 
 class AnonymousUser(DjangoAnonymousUser):
+    reputation = 0
+    
     def get_visible_answers(self, question):
         return question.answers.filter_state(deleted=False)