Re: The only click to add any class

2006-06-16 Thread Grigory Fateyev
Hello Jorge Gajon! On Thu, 15 Jun 2006 13:15:05 -0500 you wrote: > The hint is in the error message. > You must pass a Region object to the region parameter, > new_data['region'] contains only the id that the user selected from > the select list. > > You can do this: > > def save(self,

Re: The only click to add any class

2006-06-15 Thread Jorge Gajon
> And when I save form, got this error: > Invalid value: 'region' should be a 'serp2.apps.common.models.Region'> instance, not a Request The hint is in the error message. You must pass a Region object to the region parameter, new_data['region'] contains only the id that the user selected from

Re: The only click to add any class

2006-06-15 Thread Grigory Fateyev
Hello Malcolm Tredinnick! On Thu, 15 Jun 2006 12:51:33 +1000 you wrote: > > On Tue, 2006-06-13 at 16:56 +0400, Grigory Fateyev wrote: > Create your form to collect the data you need. Make the submit button > on that form send you to a view method to handle the submission as per > normal (see

Re: The only click to add any class

2006-06-14 Thread Grigory Fateyev
Hello Grigory Fateyev! On Tue, 13 Jun 2006 16:56:14 +0400 you wrote: > > Hello! > > We have compositely app 'Address' with lots of classes. Like: Region, > Country, Location and etc. And to fill the only address users need to > click some forms to add one address. It's awfully ;( > > Is it