Skip to content
  • Ilias Tsitsimpis's avatar
    astakos: Don't use `user.__dict__' · 0dd316aa
    Ilias Tsitsimpis authored
    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__.
    0dd316aa