Thanks, but I read it before, I add
photo = models.ImageField('/images')in my models classes and
newData = request.POST.copy()
new_data.update(request.FILES) in views, Also for display it in
template I add this line to it.

<form id="signupForm" name="signupForm" method="POST" action=""
enctype="multipart/form-data">
     {{ form.photo }}{{ form.photo_file }}
but nothing display in my template :-s do you know what is ths
problem? shall I write any code in manipulator or not?

On Mar 6, 11:10 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 06-Mar-07, at 1:21 PM, samira wrote:
>
> > I have Problem with uploading file in Django. First time I want to use
> > python regular way of uploading file but it is not work by Django. As
> > I studied Django has "ImageField" and "FillField" but I don't really
> > know how I can use them, can any body help me?
>
> read this:
>
> http://www.djangoproject.com/documentation/model_api/#filefield
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to