Hi Harjot,
First, I noticed your form action is empty (""). Depending on your browser,
this can mean different things (some browsers take it as an action that
gets sent back to the index page), as described in this answer on
stackoverflow:
http://stackoverflow.com/questions/1131781/is-it-a-goo
I reckon you're not passing request.FILES to your form class together with
request.POST inside your view. Hopefully that's enough info. Typing from a
phone.
On 16/10/2013 6:46 PM, "Harjot Mann" wrote:
> On Wed, Oct 16, 2013 at 1:06 PM, Harjot Mann
> wrote:
> >
> > No same problem,please help me.
On Wed, Oct 16, 2013 at 1:06 PM, Harjot Mann wrote:
>
> No same problem,please help me...please help me...please help me..I
> have posted this mail 5 days ago and no one is able to solve my
> problem. :( I am really disappointed :(
Please tell me the solution. I have to complete my work soon. pl
On Wed, Oct 16, 2013 at 12:51 PM, Sanjay Bhangar
wrote:
> It is enctype='multipart/form-data' and not encoding='multipart/form-data'
>
> Hope that helps - all the best,
> Sanjay
No same problem,please help me...please help me...please help me..I
have posted this mail 5 days ago and no one is abl
Harjot,
It is enctype='multipart/form-data' and not encoding='multipart/form-data'
Hope that helps - all the best,
Sanjay
On Wed, Oct 16, 2013 at 10:11 AM, Harjot Mann wrote:
> On Mon, Oct 14, 2013 at 9:48 PM, Harjot Mann wrote:
>> I have not done anything special in views..it just contains a
On Mon, Oct 14, 2013 at 9:48 PM, Harjot Mann wrote:
> I have not done anything special in views..it just contains a simple
> form saving code.
> Should I need to do anything there?
Please reply. I am waiting :(
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harj
On Mon, Oct 14, 2013 at 9:46 PM, Harjot Mann wrote:
> Done..but again getting the same error. I am doing it like this:
> This is my model:
> image=models.ImageField(upload_to='images')
>
> and then in my html form I am doing it like this:
>
> {% csrf_token %}
>
> {{ for
On Mon, Oct 14, 2013 at 8:34 PM, Tom Evans wrote:
> Yes, this is what I said before. Forms that contain files must be
> specified in the HTML differently than forms that do not contain
> files, or when the form is submitted, the file will not be submitted
> along with the form.
>
> Forms with file
On Mon, Oct 14, 2013 at 2:25 PM, Harjot Mann wrote:
> On Fri, Oct 11, 2013 at 3:44 PM, Tom Evans wrote:
>> Forms containing files must have encoding type of
>> "multipart/form-data" or the file will not be submitted with the rest
>> of the form.
>
>
> Didn't get you here. My problem is this that
On Fri, Oct 11, 2013 at 3:44 PM, Tom Evans wrote:
> Forms containing files must have encoding type of
> "multipart/form-data" or the file will not be submitted with the rest
> of the form.
Didn't get you here. My problem is this that when I am browsing for
image ita takes int he upload area but
On Fri, Oct 11, 2013 at 6:52 AM, Harjot Mann wrote:
> When I am browsing an image in my form it is giving me this error even
> after browsing the image. :(
> http://screencloud.net/v/ch9e
Forms containing files must have encoding type of
"multipart/form-data" or the file will not be submitted wit
When I am browsing an image in my form it is giving me this error even
after browsing the image. :(
http://screencloud.net/v/ch9e
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are sub
12 matches
Mail list logo