summaryrefslogtreecommitdiffstats
path: root/forum/models/repute.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/models/repute.py')
-rwxr-xr-xforum/models/repute.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/forum/models/repute.py b/forum/models/repute.py
index 768dbee6..cac761da 100755
--- a/forum/models/repute.py
+++ b/forum/models/repute.py
@@ -21,6 +21,8 @@ class Badge(models.Model):
# Denormalised data
awarded_count = models.PositiveIntegerField(default=0)
+ awarded_to = models.ManyToManyField(User, through='Award', related_name='badges')
+
class Meta:
app_label = 'forum'
db_table = u'badge'