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. On a related not I also need to be able to have a form where the user uploads a CSV with data that is then used to "bulk create" a series of models. Any links/docs for this? Obviously, the form I can handle, it's the backend that I've not seen done in Django yet. I've consulted the book but the crucial aspects of this problem fall precisely in the "TBA" parts. :( (any idea when? it's been months since I prepurchased my copy) I've been coding in Python for a decade now, so don't worry about that part, just the Django specific parts. ;) Cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

