Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added docstring to award_points
  • Loading branch information
brosner committed Apr 14, 2010
1 parent 7fea978 commit 19cb72f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agon/models.py
Expand Up @@ -42,6 +42,9 @@ class Meta:


def award_points(target, key):
"""
Awards target the point value for key
"""
apv = AwardedPointValue(key=key)
if isinstance(target, User):
apv.target_user = target
Expand Down

0 comments on commit 19cb72f

Please sign in to comment.