From 701070f2848c7259b56e4e62bd34b3a8784f52bf Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Wed, 23 Jan 2013 18:44:04 -0500 Subject: [PATCH] modify the returned note_url from file upload to decide where to post filemeta form --- karmaworld/apps/ajaxuploader/backends/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karmaworld/apps/ajaxuploader/backends/local.py b/karmaworld/apps/ajaxuploader/backends/local.py index 67494af..ac083d8 100644 --- a/karmaworld/apps/ajaxuploader/backends/local.py +++ b/karmaworld/apps/ajaxuploader/backends/local.py @@ -78,7 +78,7 @@ class LocalUploadBackend(AbstractUploadBackend): print "upload_complete, firing task" tasks.process_document.delay(note) - return {"path": path, "file_pk": note.pk} + return {'note_url': note.get_absolute_url()} def update_filename(self, request, filename): """ -- 2.25.1