-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Enable multi-database support #126
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, really cool feature! 👏🏽 Thanks you all for bringing this one to Model Bakery!
I left minor comments. To be honest, I haven't had the chance to use multiple databases with Django yet. It was a nice chance to read about it. :)
Co-authored-by: Ana Paula Gomes <apgomes88@gmail.com>
@anapaulagomes I've addressed all of your comments so I'll merge this and launch a new release!!! Thanks for your review =) |
Thanks for great work! This help me a lot ! |
Fixes #94
This PR introduces the new parameter
_using
to baker API so callers can specify which database they want to use. If no value, it uses django's default DB.This PR was created during Python Brasil 2020 with the amazing help from @flavioamieiro @rhenanbartels @mazulo @berrondo