[Solar-talk] Changes afoot: a new Model class

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Feb 8 10:31:14 PST 2007


On 2/8/07, Paul M Jones wrote:
> You can specify any name you want ('area', 'comments') and point to
> any model you want, using any foreign-key column you want.  Defaults
> use the model name whenever possible.  Generally, I expect models
> will be named in the plural, so you'll get plurals by default.

This is much better and adds some flexibility. I don't mind about
having to define the model and foreign key if I want to call the
foreign model differently from the default.

rodrigo
-------------------------------
http://tipos.com.br


More information about the solar-talk mailing list