Hi
Thank you. I am using django template and what do you mean by form
class? I simply use <form ...method="POST"> to post and
self.request.get("name") to get the info. But I can't get what I want.
What shall I add?
Thanks,
Shijun
On Dec 17, 8:46 pm, Arun Shanker Prasad <[email protected]>
wrote:
> Hi,
>
> Did you mean the django form object and the webapp request handler
> in the same py file? If so then are you importing the form class
> correctly? Then again this will not be the case if u tried it in
> different files while using get..
>
> Thanks,
> Arun Shanker Prasad.
>
> On Dec 17, 1:39 pm, Bob <[email protected]> wrote:
>
> > All is fine by using GET, like method="GET" and def GET(self)
>
> > But if I change both GET above to POST, like <form method="POST"> and
> > def POST(self), I cannot get any sent data from the form. I wrote the
> > form and the processing py in two files.
>
> > If I write the form and post(self) in the same .py, it works.
>
> > How come?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---