]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/management/__init__.py
Tried to fix OSQA 266, Emails sent from the cron job are not using the website locale.
[osqa.git] / forum / management / __init__.py
index 49ad8d50340cc785c83c2d1a6290d4558a996630..b654caaa18ac13e43ce4d3b3652264cc6c3207a4 100644 (file)
@@ -1,13 +1,3 @@
 from forum.modules import get_modules_script
 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')
\ No newline at end of file