Re: Flexible relationships - tips/advice?

2010-08-05 Thread Daniel Roseman
On Aug 5, 12:32 am, v0idnull wrote: > I want to be able to link one model to another model, regardless of > what models they are. Articles can be related to Photos, Videos, other > Articles, etc etc etc. > > I have created a Relationship model to represent these relationships,

Re: Flexible relationships - tips/advice?

2010-08-04 Thread v0idnull
Sorry, I screwed up my description: Photos, Videos, other Articles, etc, can be related to one Article. However, an Article can also be related to a Photo, though the relationship would symbolize something different then say, the assets of the content. On Aug 4, 7:32 pm, v0idnull

Flexible relationships - tips/advice?

2010-08-04 Thread v0idnull
I want to be able to link one model to another model, regardless of what models they are. Articles can be related to Photos, Videos, other Articles, etc etc etc. I have created a Relationship model to represent these relationships, but I'm unsure if this is the best solution. First off, my