fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Walkaround for jsonfield not decoding json on save.
[wolnelektury.git]
/
apps
/
catalogue
/
models
/
bookmedia.py
diff --git
a/apps/catalogue/models/bookmedia.py
b/apps/catalogue/models/bookmedia.py
index
024f713
..
bf05e21
100644
(file)
--- a/
apps/catalogue/models/bookmedia.py
+++ b/
apps/catalogue/models/bookmedia.py
@@
-40,7
+40,7
@@
class BookMedia(models.Model):
app_label = 'catalogue'
def save(self, *args, **kwargs):
- from slughifi import slughifi
+ from
fnpdjango.utils.text.
slughifi import slughifi
from catalogue.utils import ExistingFile, remove_zip
try: