-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double pluralization of names #262
base: master
Are you sure you want to change the base?
Double pluralization of names #262
Conversation
* Makes sure that a singular table name with a one-to-many relationship does not end up with a relationship name of 'False' because of self.inflect_engine.singular_noun(preferred_name) returns False with a singular preferred_name in generate_relationship_name().
for more information, see https://pre-commit.ci
Regarding the first test, |
@dkratzert thanks for this PR. Are you still planning to get this merged? |
Sorry for the delay! I hope to have time for it soon. |
@dkratzert we are now ready to deal with this issue. We need one or two tests to cover this change, (including the FK case @agronholm commented about). Can you re-add them? |
We could just resurrect and correct the tests from the commit history. |
Please use the tests from the history. I still don't find the time... |
Fixes #260 Stop double pluralization of names