Hi James,

> Generic Foreign Keys is pretty useful, do you think Django could provide a 
> model with 2 GFKs and Generic Many-to-Many fields ?
>
> There is a little old implementation in an app that has been out there for a 
> while so it's pretty old: https://github.com/coleifer/django-generic-m2m/

I just looked into this a few days ago for an application I am
currently working on. Via
http://stackoverflow.com/questions/19772800/django-many-to-many-generic-relationship
I came across the project you mentioned and also another third-party
application that seems to achieve something similar with a slightly
different approach when it comes to table management:
https://bitbucket.org/tkhyn/django-gm2m
(https://pypi.python.org/pypi/django-gm2m)

The Stackoverflow thread references
http://python.6.x6.nabble.com/Generic-ManyToMany-Functionality-td476651.html
- so in 2007, there was support for this kind of feature, just not the
time to implement it.

I also think it would be useful to have it in Django. However, as
there are two third-party applications available that cover this
requirement, I am not sure if it really needs to be integrated into
Django. Maybe other people on the mailing list have a better overview
about how relevant such a feature is.

Kind regards,
Goetz

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAHeTuuVj4mw8pgSdJfR%2Bq3CeaqouU6iA-e4koCBKyK2NDUtG9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to