So you mean you have the same problem you had when you first posted this
message less than one day earlier? Please wait a little while for people
who might have the time to answer your question. Remember that everybody
posting on this list is doing so as a volunteer.
>
> Using django 1.0 svn
>
> I would appreciate if you can point me to right resource.
> This is should be something very simple that I am missing.
>
>
> On Oct 4, 11:44 am, ydjango <neerash...@gmail.com> wrote:
> > I do not see the name of submit button in request.POST. it has all
> > other form fields
> >
> > if request.POST.has_key('save'):
> > does not work too
That's exactly how it should be done. There must be something special or
slightly wrong about the way you've constructed your form or your view.
Perhaps you could construct a very small example (a form with only one
buttone and the corresponding view function) that doesn't work and paste
it in full -- it should only be a dozen lines or so total. Then we might
be able to see what you're doing wrong.
Based on the information you have provided so far, this should work.
Have you looked at what keys *are* being submitted in request.POST?
Maybe that will provide a clue.
Regards,
Malcolm