How to make Django Manager and Model’s interactions follow the Open/Closed Principle?
I am designing models for my Django App and am concerned with decoupling the caller’s logic from the model’s implementation, so that future changes to the model itself do not require changes downstream in the codebase. In short adhering to the Open/Closed Principle (OCP).
How to make Django Manager and Model’s interactions follow the Open/Closed Principle?
I am designing models for my Django App and am concerned with decoupling the caller’s logic from the model’s implementation, so that future changes to the model itself do not require changes downstream in the codebase. In short adhering to the Open/Closed Principle (OCP).