[PEP 8](http://www.python.org/dev/peps/pep-0008/#maximum-line-length) says to limit lines to 80 characters. I realize there is a line above this that violates this, but its good to follow the style guide even if others don't. Suggest:
```
        authed = request.user.is_authenticated()
        user = request.user if authed else guardian.utils.get_anonymous_user()
```