I am in the learning process and I am trying to write a class based view instead of my function.
Here is the function:
@staff_member_required def admin