OK I finally wrote the article I mentioned in a previous posting. The
title is "Google App Engine: From Datastore Properties to Web Forms"
and you can find it here: http://www.gae123.com/articles/dpwf/
I look forward to your feedback!!!
--~--~-~--~~~---~--~~
You re
I switched to this - where taskCode is my hidden field that is on each
form, and it works like a charm.
taskCode= self.request.get('taskCode');
Neal Walters
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
Hi Panos. Ping me if you ever get this article published -- we'd love to
consider hosting it at http://code.google.com/appengine/articles.
- Jason
On Fri, May 15, 2009 at 11:24 AM, Panos wrote:
>
> Hi Neal,
>
> You probably need to write your own widget (subclassed from the button
> widget) tha
Hi Neal,
You probably need to write your own widget (subclassed from the button
widget) that when rendered will add the hidden field. Having worked
for about a year now with GAE and django one of the lessons I learned
is that if you want to do something out of the ordinary, custom
properties/widg
Hi Neal,
On May 13, 8:36 pm, Neal wrote:
> I seemed to solved that problem by changing one import:
>
> from django import newforms as forms
>
> Now I'm trying to get a field from the form:
>
> TaskLog1.taskCode = form.cleaned_data['taskCode'];
>
> which is giving this error: #ProvisionForm' obje
Neal,
IIRC, cleaned_data is available only after you have used is_valid()
method? Did you missed it out ?
Check out
http://docs.djangoproject.com/en/dev/topics/forms/#processing-the-data-from-a-form
--
Cheers,
Pranav Prakash
"This life is more than ordinary"
On May 13, 11:36 pm, Neal wrote:
>
I think my issue is that taskCode is being returned as a "None".
This is my objective. I want a form with two buttons on it. When a
user clicks one button, I want to store a row in BigTable that shows
that "Task01" started at at the current date/time. When he clicks the
second button, I want to
I seemed to solved that problem by changing one import:
from django import newforms as forms
Now I'm trying to get a field from the form:
TaskLog1.taskCode = form.cleaned_data['taskCode'];
which is giving this error: #ProvisionForm' object has no attribute
'cleaned_data'
(the form was defined