Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.