Commits

Rob Miller committed 65a10bf

provide reasonable 'using' value expected by Article.do_auto_tag

  • Participants
  • Parent commits da2f7cb

Comments (0)

Files changed (1)

File articles/listeners.py

     """
     Applies new tags to existing articles that are marked for auto-tagging
     """
-
+    using = kwargs.get('using', 'default')
     for article in Article.objects.filter(auto_tag=True):
-        article.do_auto_tag()
+        article.do_auto_tag(using=using)
 
 signals.post_save.connect(apply_new_tag, sender=Tag)