fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
publish tag name
[wolnelektury.git]
/
src
/
picture
/
templatetags
/
picture_tags.py
diff --git
a/src/picture/templatetags/picture_tags.py
b/src/picture/templatetags/picture_tags.py
index
70d58e0
..
43f2775
100644
(file)
--- a/
src/picture/templatetags/picture_tags.py
+++ b/
src/picture/templatetags/picture_tags.py
@@
-46,7
+46,7
@@
def area_thumbnail_url(area, geometry):
# what to do about this?
_engine = sorl.thumbnail.default.engine
sorl.thumbnail.default.engine = cropper
- coords = to_square(area.
area
)
+ coords = to_square(area.
get_area_json()
)
try:
th = sorl.thumbnail.default.backend.get_thumbnail(