from forum.modules import get_modules_script
-from django.db.models.signals import post_syncdb
-import forum.models
-
-def setup_badges(sender, **kwargs):
- from forum.badges import ALL_BADGES
-
- for badge in ALL_BADGES:
- badge.install()
-
-post_syncdb.connect(setup_badges, sender=forum.models)
get_modules_script('management')
\ No newline at end of file