django-gamification icon indicating copy to clipboard operation
django-gamification copied to clipboard

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

Open mattjegan opened this issue 6 years ago • 1 comments

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.

mattjegan avatar Apr 19 '18 00:04 mattjegan

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

hhenrichsen avatar Oct 20 '19 06:10 hhenrichsen