Re: how to change column name in many2many relations?

2012-01-12 Thread Weldan
https://docs.djangoproject.com/en/1.3/topics/db/models/#verbose-field-names set a readable name for column, or you want to refer other database table column ? sorry, but i have the urge to ask. why we should do that? thanks On 12 January 2012 18:36, ?manu* wrote:

Re: how to change column name in many2many relations?

2012-01-12 Thread ?manu*
I have solved by defining the model of the relation with a "through" attribute. A little lenghty but effective... E. On Jan 12, 11:01 am, "?manu*" wrote: > Is it possible to change the column name in many2many relations? > > I can change in in foreignKeys with the

how to change column name in many2many relations?

2012-01-12 Thread ?manu*
Is it possible to change the column name in many2many relations? I can change in in foreignKeys with the db_column attribute. I can change the table name in many2many relations with db_table. What about column names in many2many relations? Thanks, E. -- You received this message because you