I am working on a website that will help private teachers manage their students, and part of this will keep track of how much money is owed to him.
I want my applications to be reused and not dependent on each other. So, I created one application whose responsibility is CRUD of student, teacher and parent objects (all these models have a foreign key for the user, so they look like a user profile, but I do not use the built-in user profile system). There is also a family model that associates student objects with parent objects. I also created a separate application responsible for managing accounts, accounts and positions.
My problem is integrating the two. I have a basic template in an account application based on a general view that lists account objects and their balances. What I want to do in this template is to group accounts by families and show totals for all accounts that belong to a particular family.
How can this be done if the applications are independent of each other?
source share