Django's 1.11 urlencode doesn't work in the same as in version 1.10. Update to fix.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
9977759f85
commit
f93521395c
@@ -380,8 +380,8 @@ class InteractiveDocumentPageWidget(BaseDocumentThumbnailWidget):
|
||||
|
||||
def get_preview_view_query_dict(self, instance):
|
||||
return {
|
||||
'zoom': self.zoom,
|
||||
'rotation': self.rotation,
|
||||
'zoom': self.zoom or 100,
|
||||
'rotation': self.rotation or 0,
|
||||
'size': setting_display_size.value,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user