I see. Yea, you could drop api_auth_ex(). In the link there the outermost layer is just a convenience so that

```
@login_and_domain_required
def foo(...)
```

is the same as

```
@login_and_domain_required_ex()
def foo(...)
```

while supporting advanced use like

```
@login_and_domain_required_ex(login_url='blah/blah/blah')
def foo(...)
```

Since in this case there are no params, I'd drop the outer layer just to keep it as simple as possible. (Actually in the linked example I'd drop the convenience wrapper and just force the user to call the decorator with parens)