]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/repute.py
ALteration of the schema to a single content model. As a bonus there is a complete...
[osqa.git] / forum / models / repute.py
index 6d023adf5ee3d366d62256cff25789868a4a6fc7..40943514a40ba09800ced2c350c6ba18ff8fa4c7 100644 (file)
@@ -55,7 +55,7 @@ class AwardManager(models.Manager):
         ).values('badge_id', 'badge_name', 'badge_description', 'badge_type', 'user_id', 'user_name')
         return awards
 
-class Award(MetaContent, UserContent):
+class Award(GenericContent, UserContent):
     """The awarding of a Badge to a User."""
     badge      = models.ForeignKey('Badge', related_name='award_badge')
     awarded_at = models.DateTimeField(default=datetime.datetime.now)