Thank you tomZ!
My problems were pretty much fixed by this snippet:
http://www.djangosnippets.org/snippets/636/
It does exactly what i wanted with only a few glitches - does not add
that checbox after saving the form when i have uploaded the picture
and does not remove the delete checkbox when
Ok it seems i either asked the wrong question or did not explain well
enough.
My view has such line:
pform = ProfileForm(instance=profile)
it creates the form instance and i thought that it also loads data
from database and sends it to form, so i can use this in form
Thank you!
Alan.
On Aug 6, 10:51 pm, Daniel Roseman wrote:
> On Aug 6, 8:36 pm, zayatzz wrote:
>
>
>
>
>
> > Hello
>
> > I am not entirely sure if i am asking the right question, but here is
> > what am trying to do.
>
> > I am saving user
On Aug 6, 8:36 pm, zayatzz wrote:
> Hello
>
> I am not entirely sure if i am asking the right question, but here is
> what am trying to do.
>
> I am saving user mugshot with form and it works just fine. I rename
> the uploaded file to mugshot.[insert imagefile
Hello
I am not entirely sure if i am asking the right question, but here is
what am trying to do.
I am saving user mugshot with form and it works just fine. I rename
the uploaded file to mugshot.[insert imagefile extension here], but i
want to do more in form save method than just that.
1) i
5 matches
Mail list logo