Re: how to populate field values in model.py before they are saved

2009-02-13 Thread gganesh
thanks for your reply On Feb 13, 3:40 pm, bruno desthuilliers wrote: > On 13 fév, 10:51, gganesh wrote: > > > hi > > can i insert manually the values for fields before save method is > > called > > example in models.py i have > > class Auto(...) > >      auto_name=models.CharField(..) > >

Re: how to populate field values in model.py before they are saved

2009-02-13 Thread bruno desthuilliers
On 13 fév, 10:51, gganesh wrote: > hi > can i insert manually the values for fields before save method is > called > example in models.py i have > class Auto(...) >      auto_name=models.CharField(..) > my question is can i populate auto_name ='xyz' and then save by > calling super class save m

how to populate field values in model.py before they are saved

2009-02-13 Thread gganesh
hi can i insert manually the values for fields before save method is called example in models.py i have class Auto(...) auto_name=models.CharField(..) my question is can i populate auto_name ='xyz' and then save by calling super class save method , --~--~-~--~~~---