Denis wrote:
> If so, then it (the file) shouldn't be deleted when you delete()
> the object? Also, M/R branch seems has no methods like
> _pre_save/_post_save,
> instead you can subclass save/delete methods. There are some references
> in db.models.signals, dont know how to use them though
You c
This was discussed 8 months ago. This is the ticket: http://code.djangoproject.com/ticket/369. Feel free to add anything you think relevant.
On 4/20/06, Denis <[EMAIL PROTECTED]> wrote:
If so, then it (the file) shouldn't be deleted when you delete()the object? Also, M/R branch seems has no metho
If so, then it (the file) shouldn't be deleted when you delete()
the object? Also, M/R branch seems has no methods like
_pre_save/_post_save,
instead you can subclass save/delete methods. There are some references
in db.models.signals, dont know how to use them though
Clint Ecker написав:
> This
This is correct. I believe the general consensus is that the developer should take care of file destruction on their own. Perhaps in a _pre_save method?Clint On 4/20/06,
Denis <[EMAIL PROTECTED]> wrote:
HiIt looks like old files aren't being removed after object change.That is, if i change the
Hi
It looks like old files aren't being removed after object change.
That is, if i change the object like the 1 below and upload new file
via admin interface, old file remains in the directory, though nothing
refers to it :-/
class Picture(models.Model):
fullsize = models.ImageField(upload_t
5 matches
Mail list logo