Hello! I'm trying to make a simple photo album application.
I can't figure out how to change the name of photos that are uploaded to something different than the name they have locally on my computer. I want to give the files new names, before they are saved. I am using the ImageField model field for the images. It looks like I have to override the save function? If this is correct, how do I do so? Which variable decides the name of the file? Can anyone point me in the right direction? Thanks, -geir --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---