X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..e1bb6d86117346dc3af5a0d3cdb11523860873b1:/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