My views.py have a mix of def and ClassViews:
views.py
def
ClassViews
@login_required(login_url=\'login\') @allowed_users(allowed_roles=[\'Admin\',