switched to function based views for simplicity's sake...