Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mattjegan opened this issue Apr 19, 2018 · 1 comment

Comments

@mattjegan
Copy link
Owner

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants