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...

Reply via email to