Re: How to delete an image off the file system?

2007-10-11 Thread Joshua Simpson
On Oct 11, 8:34 am, Greg <[EMAIL PROTECTED]> wrote: > Hello, > I have a function 'thesignal' that deletes the Photo record from a db > table. However, after that is done the photo's still appear on the > file system. How do i delete these photos? Here is what I have so > far: > You'll have to

How to delete an image off the file system?

2007-10-11 Thread Greg
Hello, I have a function 'thesignal' that deletes the Photo record from a db table. However, after that is done the photo's still appear on the file system. How do i delete these photos? Here is what I have so far: /// models.py class Photo(models.Model): photo = models.Image