[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-06-07 Thread gae123
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

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-27 Thread NealWalters
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 "

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-15 Thread Jason (Google)
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

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-15 Thread Panos
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

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-14 Thread Waldemar Kornewald
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

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-13 Thread pranny
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: >

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-13 Thread Neal
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

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-13 Thread Neal
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