Ask Your Question

award_badges command broken?

asked 2010-12-10 07:28:58 -0500

Benoit gravatar image

updated 2010-12-10 21:49:38 -0500

Evgeny gravatar image

If I attempt to use the once_award_badges/multi_award_badges commands, I get an exception in the command script.

Looks like "Badge" is no longer in the askbot models so the line

from askbot.models import User, Activity, Badge, Award, Question, Answer


Is the award command no longer necessary in the cron job? If so, the askbot_cron_job file should be updated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2010-12-10 12:28:20 -0500

Evgeny gravatar image

updated 2010-12-10 21:49:26 -0500

Benoit, sorry those commands are no longer needed - I forgot to delete them. Badges are now awarded without cron.

edit: now removed those from the code.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2010-12-10 07:28:58 -0500

Seen: 112 times

Last updated: Dec 10 '10