Skip to content

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

Open
@mattjegan

Description

@mattjegan

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions