From: Krzysztof LityƄski Date: Wed, 4 Aug 2010 11:56:51 +0000 (-0700) Subject: was throwing TypeError("save() got an unexpected keyword argument 'using'",) before. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/3af72840ecad9b3122fdcfa6a4c2946f6113eac6?ds=inline;hp=-c was throwing TypeError("save() got an unexpected keyword argument 'using'",) before. --- 3af72840ecad9b3122fdcfa6a4c2946f6113eac6 diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index dd251c16a..4ef0a14e6 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -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 = {}