run through: create an exam review, and then delete it through the admin site
what will happen is that django properly recognizes that it is removed from the database, but the actual file is still in MEDIA_ROOT (csc_new/media/[media] - where, in this case, [media] would be "exam_reviews" -- no quotes)
not a big deal but we don't want our webserver getting clogged with unused files without us being aware
anyone have an idea on how to fix this? I'm guessing it's just a path reference issue (e.g. the name referred to in the delete code might be wrong). Or am I missing something/doing something wrong?
run through: create an exam review, and then delete it through the admin site
what will happen is that django properly recognizes that it is removed from the database, but the actual file is still in MEDIA_ROOT (csc_new/media/[media] - where, in this case, [media] would be "exam_reviews" -- no quotes)
not a big deal but we don't want our webserver getting clogged with unused files without us being aware
anyone have an idea on how to fix this? I'm guessing it's just a path reference issue (e.g. the name referred to in the delete code might be wrong). Or am I missing something/doing something wrong?