fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13cb7c
)
was throwing TypeError("save() got an unexpected keyword argument 'using'",) before.
author
Krzysztof Lityński
<krzysztof@bibliosfera.net>
Wed, 4 Aug 2010 11:56:51 +0000
(
04:56
-0700)
committer
Krzysztof Lityński
<krzysztof@bibliosfera.net>
Wed, 4 Aug 2010 11:56:51 +0000
(
04:56
-0700)
apps/catalogue/models.py
patch
|
blob
|
history
diff --git
a/apps/catalogue/models.py
b/apps/catalogue/models.py
index
dd251c1
..
4ef0a14
100644
(file)
--- 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 = {}