diff options
Diffstat (limited to 'forum/models/repute.py')
-rwxr-xr-x | forum/models/repute.py | 2 |
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'
|