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 derive the delete() method, and add an os.remove/
unlink() call in there, based upon the path stored in the row (as well
as calling the parent method)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to