def generate_deferred_awards(self, user, amount=10, reusable=False):
        if not self.allows_manage_deferred_awards_by(user):
            raise BadgeDeferredAwardManagementNotAllowedException()
        return (DeferredAward.objects.generate(self, user, amount, reusable))
Generate a number of deferred awards with a claim group code
dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Badge.generate_deferred_awards