Re: How to get two django rest framework to communicate with each other

2018-01-16 Thread Avraham Serour
This shouldn't be a problem, I work with several people on the same django app. We use git to share the code. you can use a hosted git service like gitlab, github or bitbucket On Tue, Jan 16, 2018 at 9:58 AM, wrote: > Oh, but the thing is i am doing 1 project, and another person is doing > othe

Re: How to get two django rest framework to communicate with each other

2018-01-15 Thread cherngyorng
Oh, but the thing is i am doing 1 project, and another person is doing other part of the project. And we have to integrate with each other. So we each have our own db. On Tuesday, January 16, 2018 at 2:34:01 PM UTC+9, Shree Kant Bohra wrote: > > You can use same database for both applications,

Re: How to get two django rest framework to communicate with each other

2018-01-15 Thread shreekant bohra
You can use same database for both applications, so you don't have to worry about the API and interacting with each other. -- Shree Kant Bohra Co-founder Geekybuddha Technologies On Tue, Jan 16, 2018 at 9:29 AM, wrote: > Ok, maybe i'm confuse about this whole thing. > > So these are my task

Re: How to get two django rest framework to communicate with each other

2018-01-15 Thread cherngyorng
Ok, maybe i'm confuse about this whole thing. So these are my task - Integration of django 1 api and django 2 api, to setup two django app, on same server / PC, with different port - Integration of django 1 api and django 2 api, to setup two django app, on same server / PC, with different datab

Re: How to get two django rest framework to communicate with each other

2018-01-15 Thread cherngyorng
>From what i read at the django documentation, there is only combine database where user get to choose which table save to which db. As both app user table is meant for different people, django 1 is for normal user and django 2 is for staff/doctor. There is also limitation to combine database t

Re: How to get two django rest framework to communicate with each other

2018-01-15 Thread Mohammad Etemaddar
Excuse me for giving advice for this change. But why don't you put these two projects in one Django project as two apps? You have two options. First you can make a ManyToMany relationship. Of course this has a problem. For example some people may not want to share his/her future information to a

Re: How to get two django rest framework to communicate with each other

2018-01-15 Thread Jason
Since you already have DRF enabled, make a private API for both projects that will be used for inter-project communication. On Sunday, January 14, 2018 at 11:42:59 PM UTC-5, chern...@gmail.com wrote: > > So i have 2 django project. Both have its seperated database and table. I > create the djang

How to get two django rest framework to communicate with each other

2018-01-14 Thread cherngyorng
So i have 2 django project. Both have its seperated database and table. I create the django rest framework api for both project but i want both of them to communicate with each other. In django 1 is about the social media and medical record app API. In django 2 is a clinic app API where the