First time here? Check out the FAQ!
0

award_badges command broken?

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

fails.

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

Evgeny's avatar
13.2k
Evgeny
updated 2010-12-10 21:49:38 -0500
Benoit's avatar
875
Benoit
asked 2010-12-10 07:28:58 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Evgeny's avatar
13.2k
Evgeny
updated 2010-12-10 21:49:26 -0500, answered 2010-12-10 12:28:20 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments