You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any provision for updating the user badge using 'possibly_award_badge'? Presently the user level is not updating in case if the level is increased by 1.
awarded levels are 1 indexed, for convenience
awarded = awarded.level - 1
assert awarded < len(self.levels)
if (
not self.multiple and
BadgeAward.objects.filter(user=user, slug=self.slug, level=awarded)
):
return
The text was updated successfully, but these errors were encountered:
Is there any provision for updating the user badge using 'possibly_award_badge'? Presently the user level is not updating in case if the level is increased by 1.
awarded levels are 1 indexed, for convenience
The text was updated successfully, but these errors were encountered: