In Rest FrameWork Django I want use from another DataBase in my View Now I can use data of databse model of django created . I want select a database of another program and show in api
Please Help Me
Thanks
In Rest FrameWork Django I want use from another DataBase in my View Now I can use data of databse model of django created . I want select a database of another program and show in api
Please Help Me
Thanks
If I understand correctly, you want to use multiple databases in your Django app.
You can look at Django's original documentation Multiple databases | Django documentation.
Also, I did some research on the internet for your question, and I found some posts.
Otherwise, If you want to use other application databases, you need to create an API gateway for the other application.
Maybe you can solve this issue connect with your other app database manually without an API gateway:
I hope it helps!