Re: Need some explanation on Package and ContentType model

2006-02-19 Thread limodou
On 2/20/06, Ian Holsman <[EMAIL PROTECTED]> wrote: > > I'm not sure what they were designed for, but I make use of both of > these heavily. > > I use the content-types to make generic tables which can hold > references to several tables in a single spot. In models, it also supplies get_app(app_la

Re: Need some explanation on Package and ContentType model

2006-02-19 Thread Ian Holsman
I'm not sure what they were designed for, but I make use of both of these heavily. I use the content-types to make generic tables which can hold references to several tables in a single spot. for example, the comment table uses content-type so that you can easily add comments to any other model/

Need some explanation on Package and ContentType model

2006-02-19 Thread limodou
I don't understand much about Package and ContentType model, can someone explain it for me? Thanks. I see that they are used to restoring app_label and model_name. Why we need this? If are they used for models outside the current project? -- I like python! My Blog: http://www.donews.net/limodou