« Previous | Next » 

Revision d7546862

IDd7546862f381d327d18e0cea99873f532a3636ad

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences