mattjegan / django-gamification

The missing Django Gamification Package
Other
166 stars 28 forks source link

A badge definition should be able to award a badge to a user to provide a better API #33

Open mattjegan opened 6 years ago

mattjegan commented 6 years ago

Ref: https://www.reddit.com/r/django/comments/6yu953/the_gamification_package_django_has_been_missing/dmq9pm2/

While it is possible to get some specific users Badge instance and call .award() on it, it appears that a more common use might be to simply use the BadgeDefinition E.g. I have some BadgeDefinition called awesomeBadge and an implementer should be able to call awesomeBadge.award(someUser) which would find the users instance of that badge, and award it.

hhenrichsen commented 5 years ago

Hey, I'm interested in taking this. I think I have most of it written.