X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..c8c6b98a7b2a365878871131e0f42c40d6b499fc:/forum/management/__init__.py?ds=sidebyside diff --git a/forum/management/__init__.py b/forum/management/__init__.py index 49ad8d5..b654caa 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