« Previous | Next » 

Revision b2b32926

IDb2b3292649109a27602e1061bec2eb4d4145d58b

Added by Ilias Tsitsimpis over 8 years ago

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

View differences