« Previous | Next » 

Revision 95ab222e

ID95ab222e2e927ea9f36e3437d660b6a3281cc458

Added by Ilias Tsitsimpis over 10 years ago

astakos: Fix `save() got unexpected argument'

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.
"""

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences