https://alezinhacris.blogspot.com/2024/02/transforming-function-based-view-to.html
Transforming Function Based View To Class Based View