This is something we could really use.

I'm assuming to access those attributes they're just appended on the
new objects created?

So I could have:

MyModel():
    relationships = models.ManyToManyField(ContentType,
through="Relationship")

Relationship():
    content_type = models.ForeignKey(ContentType)
    object_id = models.PositiveIntegerFIeld()
    some_cool_field = models.DateTimeField()

And this would work? I may be reading this wrong..

Then, if this does work, and I did MyModel.relationships.all(), i'd be
able to say instance.some_cool_field?

On Dec 21, 10:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Thanks for the responses guys!  Have fun with your holiday
> celebrations.
>
> -Eric Florenzano
>
> On Dec 21, 9:49 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
> wrote:
>
> > On Dec 22, 2007 6:48 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > Hello All,
>
> > > I've been working on adding m2m intermediary model functionality for a
> > > while now, and the patch is to the point where I can't seem to find
> > > any more edge cases to address.  At this point it needs people to try
> > > it out and/or review the code.  There are up-to-date tests and
> > > documentation to go along with the patch, by the way.
>
> > > The files to look at are 6095-alpha-05.diff, and docs.diff.
>
> > > I know that everyone's busy, but I just wanted to bring this up on-
> > > list to raise awareness.
>
> > Hi Eric,
>
> > I've been keeping an eye on this patch, but I haven't had a chance for
> > a week or so, what with the general pre-Christmas rush. I'll see if I
> > can find some time to take the patch for a spin, but it could be about
> > a week or so before that happens.
>
> > Yours,
> > Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to