Revision b2b32926
ID | b2b3292649109a27602e1061bec2eb4d4145d58b |
astakos: Don't use `user.__dict__'
In Django 1.4 the `request.user' returns a SimpleLazyObject instead
of a LazyUser. The equivalent of `user.__dict__' is now
`user._wrapped.__dict__'. In order to be backward compatible
we are requesting explicitely the attributes we want and not
all of them with dict.
Files
- added
- modified
- copied
- renamed
- deleted