Hi All,

I'm working on a model similar to
http://docs.djangoproject.com/en/1.3/topics/db/models/#extra-fields-on-many-to-many-relationships
.

Say, I need to add the field, groups = models.ManyToManyField(Group,
through='Membership') to Person class

Two questions:
1. In Django, is this allowed?
2. In Python, how do you forward declare Group class for this code to
work?

If this is possible this could save lot of time and reduce code
complexity a lot.  In this group there were few similar questions
asked before but without any good answers.

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to