« Previous | Next » 

Revision d7546862


Added by Ilias Tsitsimpis over 10 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.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences