You must set CAS_GATEWAY to True to use this view