Django DRF Network Based
I have three networks; A, B, and C.
A will contain all fields and will be the single source of truth. B will contain a couple of fields from A, and C will contain much less than A and B. A is the source of truth, meaning B and C are just derivatives of the data availability. A will also provide data on a nightly basis (for syncing purposes) but the type of packages being sent down will be limited based on B and C.
The database will be deployed with the same columns but B and C will have null values for the fields that aren't allowed on those networks.
I'm trying to figure out how to setup my django rest views/serializers to work best with this setup.
What's the best practice from a Django perspective to approach this?
I know you can setup the a mixin that uses '_init_' to pop out the data with some if else stuff.