Re: Changing an ImageField file without re-upload

2009-02-16 Thread Eric Abrahamsen
On Feb 17, 2009, at 5:17 AM, Carmelly wrote: > > My situation is this: I want to allow my users to upload multiple > userpics and then choose between them. So I have a Profile model with > an ImageField for the userpic. When users upload a file it is > displayed around the site as usual. When th

Re: Changing an ImageField file without re-upload

2009-02-16 Thread James Mowery
I don't really understand your question (perhaps English isn't your first language), and I'm too tired to try to understand, but maybe one of the following will help: http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods http://docs.djangoproject.com/en/dev/re

Changing an ImageField file without re-upload

2009-02-16 Thread Carmelly
My situation is this: I want to allow my users to upload multiple userpics and then choose between them. So I have a Profile model with an ImageField for the userpic. When users upload a file it is displayed around the site as usual. When they upload a new file, that file replaces their the "userp