Josh VanderLinden  committed 85c435b

Fixing an error about unexpected keyword argument force_insert

  • Participants
  • Parent commits a05c714

Comments (0)

Files changed (1)

File articles/

     def __unicode__(self):
-    def save(self, *args):
+    def save(self, *args, **kwargs):
         """Cleans up any characters I don't want in a URL"""
         # replace spaces with dashes, in case someone adds such a tag manually =' ', '-') = TAG_RE.sub('',
-        super(Tag, self).save(*args)
+        super(Tag, self).save(*args, **kwargs)
     def get_absolute_url(self):
     def __unicode__(self):
         return self.title
-    def save(self, *args):
+    def save(self, *args, **kwargs):
         Renders the article using the appropriate markup language.
         if self.use_addthis_button and self.addthis_use_author and not self.addthis_username:
             self.addthis_username =
-        super(Article, self).save(*args)
+        super(Article, self).save(*args, **kwargs)
         requires_save = False
         # if we don't have keywords, use the tags
             requires_save = True
         if requires_save:
-            super(Article, self).save(*args)
+            super(Article, self).save(*args, **kwargs)
     def _get_article_links(self):