Mixins
Reusable components
- Normal classes meant for code reusability
- direct child class of an object (mens no other dependency)
- contain only method (no variable)
viewset
- very easy and fast way to develop api
- not require to configer urls
- most of the business logic perform internally automatically
it is the model-based view set