On Mon, Feb 16, 2009 at 1:20 PM, Justin Lilly wrote:
>
> Hi Peter,
>
> While your proposed solution would work for the prototyping example
> I've given, I have 3 more arching themes like Show and probably
> another 4-5 content types like photo and articles. The main idea
Hi Peter,
While your proposed solution would work for the prototyping example
I've given, I have 3 more arching themes like Show and probably
another 4-5 content types like photo and articles. The main idea here
is to be able to select an arbitrary element, be it a photo, video,
article, etc.
Hi Justin,
I can't view your code at the moment, but it seems to me you want a
ForeignKey on Article to Show, another FK on Photo to Show, an M2M
from Article to Photo, and a custom manager on Show, or some other
custom method, that returns both Articles and Photos. The latter
might best be
Hi all.
I have a project where I need to assign multiple models to each
other via some many to many relationship.
There are a few main players in my prototype: Articles, Photos and
Shows. Shows has many Articles and Photos. Article has many Photos,
but has one Show. Photos has one
4 matches
Mail list logo