1. 27 Sep, 2013 1 commit
  2. 26 Sep, 2013 2 commits
    • Ilias Tsitsimpis's avatar
      astakos: Fix `save() got unexpected argument' · 232b2aa9
      Ilias Tsitsimpis authored
      From Django documentation:
      It’s also important that you pass through the arguments that can be
      passed to the model method – that’s what the *args, **kwargs bit does.
      Django will, from time to time, extend the capabilities of built-in
      model methods, adding new arguments. If you use *args, **kwargs in your
      method definitions, you are guaranteed that your code will automatically
      support those arguments when they are added.
    • 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__.
  3. 25 Sep, 2013 12 commits
  4. 24 Sep, 2013 25 commits