Skip to content

Is it possible to rename the relation without editing vendor files? #2811

Answered by drbyte
abcmoritz asked this question in Q&A
Discussion options

You must be logged in to vote

There is no convenient way to override the relation names in this package. They are quite deeply embedded.
Additionally the models have interdependent relations which share the same names which brings a complementary convenience, which would be broken if the relation names were changed, and thus would require additional coding to combine related data, and perhaps even additional query load.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abcmoritz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants