8 Nov
2002
8 Nov
'02
10:05 p.m.
Ria Marinussen writes:
... Can anyone provide me with a sample python script that uses (or clues how to use) manage_upload to upload this file to the correct ID? You know your folder, say "F". You get id and file in your form, say "id" and "file".
Then, you do: .... file_to_be_updated= getattr(f,id) file_to_be_updated.manage_upload(file) return 'updated' Dieter