On Feb 6, 8:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm developing a small app that has a model that will include a need > for the user to upload a list of things from a flat file upload (user > list one user per line). > > What I want to do is to parse this file when the instance is created, > and make additional DB calls to a separate table/model. What I've not > been able to find is how to access the file during save(). I > initially considered doing this work during post_save(), but I need to > rename the file uploaded *before* it is saved to the filesystem.
Just thought I'd add that if I can parse the uploaded file I don't need to store the original. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

