def admin_wrapper(request):
 return staff_member_required(site.index)(request)

def admin_wrapper ( request ) : return staff_member_required ( site . index ) ( request )
wrapper that allows us to properly use the base django admin site .