Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Ignore relationships with a non-active related_name #4

Closed
bruth opened this issue Sep 21, 2012 · 0 comments
Closed

Ignore relationships with a non-active related_name #4

bruth opened this issue Sep 21, 2012 · 0 comments
Assignees

Comments

@bruth
Copy link
Contributor

bruth commented Sep 21, 2012

Setting or ending the related_name argument in field relationships will prevent Django from creating accessors between them. ModelTree should respect this as well and ignore paths that have this defined.

See: https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.related_name

@ghost ghost assigned bruth Sep 21, 2012
@bruth bruth closed this as completed in 2ee841b Nov 29, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant