django-mptt/django-mptt

When I upgrade to version 0.15 i run into problem when the name of related is not "parent". Why not use opts.parent_attr?

henrikek opened this issue · 2 comments

          When I upgrade to version 0.15 i run into problem when the name of related is not "parent". Why not use opts.parent_attr?

Originally posted by @henrikek in #820 (comment)

Probably no good reasons, just buggy behavior.

My idea was just to follow other structure in the code and not hardcode the name "parent" as other code sets the value dynamically according to "opt.parent_attr". For me, it's okay to close this issue.