was throwing TypeError("save() got an unexpected keyword argument 'using'",) before.
authorKrzysztof Lityński <krzysztof@bibliosfera.net>
Wed, 4 Aug 2010 11:56:51 +0000 (04:56 -0700)
committerKrzysztof Lityński <krzysztof@bibliosfera.net>
Wed, 4 Aug 2010 11:56:51 +0000 (04:56 -0700)
apps/catalogue/models.py

index dd251c1..4ef0a14 100644 (file)
@@ -207,7 +207,7 @@ class Book(models.Model):
     def __unicode__(self):
         return self.title
 
-    def save(self, force_insert=False, force_update=False, reset_short_html=True, refresh_mp3=True):
+    def save(self, force_insert=False, force_update=False, reset_short_html=True, refresh_mp3=True, **kwargs):
         if reset_short_html:
             # Reset _short_html during save
             update = {}