Re: how save data into more than one table?

2009-07-30 Thread derek
How about posting the code here for a review? On Jul 30, 5:21 pm, Asinox wrote: > Thanks, i did it, i dont know if in the best way but im saving data in > two tables :) thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: how save data into more than one table?

2009-07-30 Thread Asinox
Thanks, i did it, i dont know if in the best way but im saving data in two tables :) thanks :) On Jul 30, 12:47 am, Asinox wrote: > Thanks a lot Mike, very nice help, you example helpe me with another > thing :) good!!! > > now, when i said "key" (sorry!!) i want to say "some code like an > en

Re: how save data into more than one table?

2009-07-29 Thread Asinox
Thanks a lot Mike, very nice help, you example helpe me with another thing :) good!!! now, when i said "key" (sorry!!) i want to say "some code like an encryption key, and random number, etc". im reading the django help and i cant find any topic about this part (how make query than affect two or

Re: how save data into more than one table?

2009-07-29 Thread Almir Karic
Over ride your models save() method (or use signals) to execute arbitrary code when a model is saved. On Wed, Jul 29, 2009 at 7:52 PM, Asinox wrote: > > Well im talking about save a form yes, but in the same moment i want > to save x data in another table, for example, i want to generate some > "

Re: how save data into more than one table?

2009-07-29 Thread mike
I'm not clear on what you mean by "key". Foreignkey? Or for instance, an encryption key stored in two tables? I'm left to guess you mean a foreignkey. In this case, the second 'table' you refer to could have a foreignkey relating it back to the first table. If this is what you mean, then ...

Re: how save data into more than one table?

2009-07-29 Thread Asinox
Well im talking about save a form yes, but in the same moment i want to save x data in another table, for example, i want to generate some "key" while im saving the form data, but i want to save the "key" in another table. Thanks On Jul 29, 8:52 pm, mike wrote: > On Jul 29, 3:39 pm, Asinox

Re: how save data into more than one table?

2009-07-29 Thread mike
On Jul 29, 3:39 pm, Asinox wrote: > Hi guys, i cant find a example about how ill save data in two or more > tables... somebody help me please > > Thanks You essentially use two form instances and feed both to your template. You can have multiple django forms in a single html form, so when they'

Re: how save data into more than one table?

2009-07-29 Thread Vasil Vangelovski
What exactly do you need to do? Please be more specific. On Wed, Jul 29, 2009 at 11:39 PM, Asinox wrote: > > Hi guys, i cant find a example about how ill save data in two or more > tables... somebody help me please > > Thanks > > > --~--~-~--~~~---~--~~ You recei

how save data into more than one table?

2009-07-29 Thread Asinox
Hi guys, i cant find a example about how ill save data in two or more tables... somebody help me please Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t