X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..46b868a3f5ffa8f693808cb832306286802124f4:/forum/management/__init__.py diff --git a/forum/management/__init__.py b/forum/management/__init__.py index 49ad8d5..6a3ce4a 100644 --- a/forum/management/__init__.py +++ b/forum/management/__init__.py @@ -1,13 +1,3 @@ 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 +get_modules_script('management')