The mixin classes provide the actions that are used to provide the basic view behavior. Note that the mixin classes provide action methods rather than defining the handler methods, such as .get()
and .post()
, directly. This allows for more flexible composition of behavior. -Official Django rest Framework Documentation-