[google-appengine] Re: How do I handle forms with django?

2008-09-20 Thread Peter
Thanks a ton, the different import did the trick. I might give that modelform thing a go too. On Sep 19, 9:44 am, "@@" <[EMAIL PROTECTED]> wrote: > hi you can use ModelForm, is more convenientfrom google.appengine.ext.db > import djangoforms > > class MessageForm(djangoforms.ModelForm):  class M

[google-appengine] Re: How do I handle forms with django?

2008-09-19 Thread @@
hi you can use ModelForm, is more convenientfrom google.appengine.ext.db import djangoforms class MessageForm(djangoforms.ModelForm): class Meta:model = Comments are you using the gae built-in django? try from django import newforms as forms On Fri, Sep 19, 2008 at 2:56 PM, Peter <[EMAIL PR

[google-appengine] Re: How do I handle forms with django?

2008-09-18 Thread Peter
Still hoping for an answer On Sep 18, 7:49 am, Peter <[EMAIL PROTECTED]> wrote: > Anyone have an idea what is going wrong? > > On Sep 16, 8:01 am, Peter <[EMAIL PROTECTED]> wrote: > > > Still getting the same problem with the different import. > > > I've put my code athttp://pastebin.com/m662

[google-appengine] Re: How do I handle forms with django?

2008-09-17 Thread Peter
Anyone have an idea what is going wrong? On Sep 16, 8:01 am, Peter <[EMAIL PROTECTED]> wrote: > Still getting the same problem with the different import. > > I've put my code athttp://pastebin.com/m662c6d62. > > There's not a lot of code there, so hopefully you pros will easily > spot the problem

[google-appengine] Re: How do I handle forms with django?

2008-09-12 Thread dar
You need to import djangoforms unless you are using app-engine-patch. like this: from google.appengine.ext.db import djangoforms as forms class MessageForm(forms.Form): message = forms.TextField() On Sep 10, 3:46 pm, Peter <[EMAIL PROTECTED]> wrote: > Hi folks, > I'm trying to post some

[google-appengine] Re: How do I handle forms with django?

2008-09-11 Thread davemo
Any chance you could post more of your code Pete? http://www.pastebin.com or http://www.dpaste.com work well :) On Sep 11, 3:03 am, Peter <[EMAIL PROTECTED]> wrote: > Hi Dave, >   I've tried putting it in the views code and I get the same result. > >   My app is built on top of the appengine dja

[google-appengine] Re: How do I handle forms with django?

2008-09-11 Thread Peter
Hi Dave, I've tried putting it in the views code and I get the same result. My app is built on top of the appengine django helper, so it does have that __init.py__ file. I haven't bothered even looking at what's in it as I've heard it's required but you can basically ignore it. Cheers, Pete

[google-appengine] Re: How do I handle forms with django?

2008-09-10 Thread davemo
This is sort of unrelated, but if you take a look at some of the sample apps out there (rietveld, gae-django-guestbook) they seem to place the "Forms" into the views code. You could avoid the import problem by doing this. To address your problem in particular, do you have an __init.py__ inside yo