I think it does both. It not, it is a bug.

On Monday, 16 April 2012 10:27:20 UTC-5, Anthony wrote:
>
> web2py does not like to delete files unless it is told to do so. You can do
>>
>> Field('avatar','upload',autodelete=True)
>>
>> This should work as you expect.
>>
>
> I could be wrong, but if I recall correctly, autodelete only deletes the 
> file when the record is deleted, but not when the record is merely updated 
> with a new file. It should probably do both.
>
> Anthony 
>

Reply via email to