Oh no it's not working! =(

On 6 nov, 08:39, CesarBustios <cesarbust...@gmail.com> wrote:
> Thanks a lot Mr. Massimo you save my life :) .... I love web2py by the
> way!
>
> On 6 nov, 02:41, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
>
>
> > This should do it.
>
> > db.define_table('mytable', Field('picture','upload'))
>
> > db.mytable.picture.default=lambda:db.mytable.picture.store(open('path/
> > pic.jpg','rb'))
>
> > On Nov 6, 1:32 am, CesarBustios <cesarbust...@gmail.com> wrote:
>
> > > Hi, please in my database i have an 'upload' type Field and i want to
> > > make some picture ('pic.jpg') the default picture when the form load,
> > > how can i do that???
>
> > > I really hope you can help me out, Thank you!- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Reply via email to