From fb3678bb6f02fe20cd4f93d0a11c354cd5673108 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 1 Nov 2018 03:50:34 -0400 Subject: [PATCH] Sources: Convert furl querystring to text Convert the furl instance to text to allow serializing it into JSON to be passed as arguments to the background task. Signed-off-by: Roberto Rosario --- mayan/apps/sources/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/sources/views.py b/mayan/apps/sources/views.py index e4484cceb4..dd63452cb7 100644 --- a/mayan/apps/sources/views.py +++ b/mayan/apps/sources/views.py @@ -270,7 +270,7 @@ class UploadInteractiveView(UploadBaseView): filename=force_text(shared_uploaded_file) ), language=forms['document_form'].cleaned_data.get('language'), - querystring=querystring, + querystring=querystring.tostr(), shared_uploaded_file_id=shared_uploaded_file.pk, source_id=self.source.pk, user_id=user_id,