On 31/08/15 12:10, Remaze Vs wrote: > def save(self,request,*args,**kwargs):
You defined save to take a second positional argument, so it's no wonder it crashes if you call .save() If you need the request in the save method you have to pass it, otherwise remove the request parameter. See docs for .save() overwrite: https://docs.djangoproject.com/en/1.8/ref/models/instances/#django.db.models.Model.save regards, Florian -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/55E435F1.4%40ist-total.org. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature

