any word on getting SQLFORM to work correctly?  it doesn't work in
Version 1.80.1

    form = SQLFORM(db.Item, item, upload=URL(r=request,f='download'),
deletable=True, next=URL(r=request, args=item))

On Jul 11, 12:16 am, Rob <r...@rmdashr.com> wrote:
> FYI, the problem also appears when using SQLFORM.  Your fix works when
> using crud - slightly modified:
> form = crud.update(db.Item, item, next=URL(r=request, args=item))
>
> This fix doesn't appear to work for SQLFORM.
>
> On Jul 10, 11:46 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
>
>
> > form = crud.update(db.Item, item,next=URL(r=request))
>
> > but this should be considered a bug in sqlhtml.py and I will try fix
> > it.
>
> > On 10 Lug, 20:06, Rob <r...@rmdashr.com> wrote:
>
> > > db:
> > > db.define_table('Item',
> > >                 Field('description'),
> > >                 Field('need', 'boolean'),
> > >                 Field('image', 'upload'))
>
> > > controller:
> > > def update():
> > >     item = request.args(0)
> > >     form = crud.update(db.Item, item)
> > >     return dict(form=form)
>
> > > When I upload a different image, the old image still shows until a
> > > page refresh happens.  What trickery do I need to do it to act
> > > correctly?
>
> > > Thanks again...

Reply via email to