Try response.vars.csvfile.filename.

Anthony

On Sunday, June 23, 2013 4:39:08 PM UTC-4, Dane Wright wrote:
>
> I'm importing a lot of csv files through Database Administration and would 
> like to be reminded of which one was last imported.
>
> I was going to amend appadmin.py so that the response.flash on line 255 
> said "data uploaded for "+filename. But I just can't see where the filename 
> is stored. I can see that it is in response.vars.csvfile but I'm not sure 
> how to get it out of there - response.vars.csvfile.name just gives 
> "csvfile".
>
> Thanks
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/groups/opt_out.


Reply via email to