1 from forum.modules import get_modules_script
2 from django.db.models.signals import post_syncdb
5 def setup_badges(sender, **kwargs):
6 from forum.badges import ALL_BADGES
8 for badge in ALL_BADGES:
11 post_syncdb.connect(setup_badges, sender=forum.models)
13 get_modules_script('management')