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 <[email protected]> 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 <[email protected]> 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...

