Open vladimirmyshkovski opened 7 years ago
Hey, did you or anyone else manage to register the badges?
I created a class as mentioned in the instructions. What class should it derive from? badges.MetaBadge
is not defined. When I use badges.utils.MetaBadge
instead, I see no badges.
What do I need to do to register them manually?
@ymmd, At the bottom of the file meta_badges.py , register the signal as follows:
from badges.utils import register as register_badge
register_badge(YourBadge)
Also remember that while none of the users to which these badges are related will not be saved, the badge will not appear in the database
I have same problem. 1.9.13 Python 3.5
@qari, my solution solve your problem ?
@narnikgamarnikus yes
can you please write something about this to README.md?
Automatic registration, from MetaBadgeMeta does not work, and it is necessary to register manually. Is it correct?