2011/4/19 Juan Pablo Romero Méndez <[email protected]>: > Is it possible to create unidirectional relations within django's orm? > > What I mean is a situation where a parent has a children_set of > references to children, but the children don't have any reference to > the father.
See the documentation for ForeignKey.related_name: http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.related_name. In particular, note the part about what `related_name="+"` does. Jacob -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

