Between Document.new_version and DocumentVersion.save there are two django specific creates, and I can't figure how to pass the file_object to the Document.new_version method.
Any ideas on how to do that? On Monday, April 27, 2015 at 7:24:52 PM UTC-3, Magan wrote: > > > When a new file is uploaded and the initial version is created, if we > would want to after-upload-process the new document, the convenient signal > would need to be sent with the new document as a parameter, ready to get a > new version of it. > > > PS: I deleted my other message, because I was indeed confused and posted > usefulness comments. > > > > > On Tuesday, April 21, 2015 at 12:45:42 PM UTC-3, Magan wrote: >> >> Hi, I'm a little confused. When a new document is uploaded, it would be >> useful to have the initial version being uploaded, and the post processed >> one that results after that. >> >> However, in the stack I see that I am still in the new_version method of >> the original document. To which event shall I connect the script then? >> >> Regards, >> > -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
