Skip to content

fix: support new factory-boy v3 import alias #25

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

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

kraklo
Copy link
Contributor

@kraklo kraklo commented Mar 19, 2025

factory boy v3 deprecates the factory.DjangoModelFactory alias in favour of factory.django.DjangoModelFactory

This PR attempts to import the newer alias before falling back to the old one.

@kraklo kraklo merged commit b75a90e into master Mar 19, 2025
@kraklo kraklo deleted the fix/factory-boy-v3-support branch March 19, 2025 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants