Re: newforms question

2008-10-17 Thread Daniel Roseman
On Oct 17, 5:50 pm, Jeff Gentry <[EMAIL PROTECTED]> wrote: > > Oops. It could also read > >     from django import newforms as forms > > in which case you should change it to > >     from django import forms > > Right, that's what I was thinking. > > > but I hope you've got the idea: basically new

Re: newforms question

2008-10-17 Thread Jeff Gentry
> Oops. It could also read > from django import newforms as forms > in which case you should change it to > from django import forms Right, that's what I was thinking. > but I hope you've got the idea: basically newforms has *become* forms. Yup - just wasn't sure on that. I had remembe

Re: newforms question

2008-10-17 Thread Steve Holden
Jeff Gentry wrote: > Hi there ... > > To date, I've not been using Django's form system (nor 'newforms'), but am > trying to integrate another app into a suite that I'm developing. The > code on this is a bit older and is using newforms - when I fire up the > server (running off of the 1.0 branc

Re: newforms question

2008-10-17 Thread Steve Holden
Jeff Gentry wrote: > Hi there ... > > To date, I've not been using Django's form system (nor 'newforms'), but am > trying to integrate another app into a suite that I'm developing. The > code on this is a bit older and is using newforms - when I fire up the > server (running off of the 1.0 branc

Re: newforms question

2008-10-17 Thread Jeff Anderson
Jeff Gentry wrote: > Hi there ... > > To date, I've not been using Django's form system (nor 'newforms'), but am > trying to integrate another app into a suite that I'm developing. The > code on this is a bit older and is using newforms - when I fire up the > server (running off of the 1.0 branch)

newforms question

2008-10-17 Thread Jeff Gentry
Hi there ... To date, I've not been using Django's form system (nor 'newforms'), but am trying to integrate another app into a suite that I'm developing. The code on this is a bit older and is using newforms - when I fire up the server (running off of the 1.0 branch) I get "No module named newfo

Re: newforms question with multiple object types in the same form

2007-10-02 Thread Fred Palmer
Thanks... I think that might be it! On 10/2/07, Doug B <[EMAIL PROTECTED]> wrote: > > > Search for 'prefix' in the regression tests, that does what you want. > Doesn't seem to be in the docs. > > > http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/forms/forms.py > > > > > >

Re: newforms question with multiple object types in the same form

2007-10-02 Thread Doug B
Search for 'prefix' in the regression tests, that does what you want. Doesn't seem to be in the docs. http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/forms/forms.py --~--~-~--~~~---~--~~ You received this message because you are subscrib

newforms question with multiple object types in the same form

2007-10-02 Thread Fred Palmer
Hi, I'm looking for the recommended way of handling this. I have some models like so: class ContactInfo(models.Model): uuid= UUIDField('UUID', blank=False, maxlength=50, core=True, unique=True, editable=False) first_name = models.CharField(blank=True, maxlength=20) l

Re: NewForms Question..

2007-04-11 Thread brad
You are exactly right. Thanks for your time and help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this

Re: NewForms Question..

2007-04-10 Thread Russell Keith-Magee
On 4/11/07, brad <[EMAIL PROTECTED]> wrote: > > Hello, I am using NewForms with my current Django project, but I am > stumped on one error message. Here's the error message: Cannot resolve > keyword 'organization' into field. Without knowing your model definitions, this is a guess, but I'd say th

NewForms Question..

2007-04-10 Thread brad
Hello, I am using NewForms with my current Django project, but I am stumped on one error message. Here's the error message: Cannot resolve keyword 'organization' into field. I am assuming that there is something wrong in my forms.py file in the application folder. Here's what I have in forms.py, a

newforms question: select widget

2007-02-21 Thread [EMAIL PROTECTED]
I just want to render a formfield as a select field without having to create a Form class. Why does this not work? from django import newforms as forms ConfForm = forms.models.form_for_model(Conference) form = ConfForm() choices = ( ('Monday','Monday',), ('Tuesday','Tuesday',), ('Wed