Hi, I would like to be able to do the following: Upload a file to my app along with some meta data. Store the filepath in the table using a FileField. However I would like to override the uploaded filename to be used in the file store to some unique system generated, preferrably numeric, name.
I would have thought this would be done something like: new_data['fileLocation_file']['filename'] = Item.id However I guess that the Item.id will not exist until after I call the save method for the item, and the save method will do both the database entry and the file save. Is there an easy way to override this behaviour? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

