remove badge from profile
 

How can we remove badge from profile. Example if user has the best answer badge but later all the answers provided by that user get deselect as the best answer. In that case we should remove the badge from the user profile how can we do that.

I have put a new badge in my system where we award a badge for the 1st 10 karma points but the problem is if the user reach 10 points and then at later point they go below karama I am not taking the badge away at the moment. Can someone provide an example on how to do this in __init__.py under models.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
asked 11 years ago

Comments

see more comments