This is my code
form = SQLFORM.factory(Field('list_name', 'string', label='List Name'), db.
project, table_name='project',upload=URL('download'))
And here is my db.py about upload field
Field('project_pdf', 'upload', label='Project PDF', comment='', uploadfolder
='app/uploads'),
When I use web2py's appadmin I can see the link like this picture
<https://lh3.googleusercontent.com/-OJc7GOyH4DM/Vs7GiuCdwVI/AAAAAAAAxVk/PZu2h_N-dC0/s1600/1.PNG>
but in my view I use
{{=form}}
There are only choose file but not file link
how could I do for it?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.