AdrianFerJ / v2go-api

V2go web app's repo contains client and server apps (django and angular), and infastructure setup for both apps, postgres, redis, and nginx using docker
0 stars 0 forks source link

Create *args and **kwargs when overriding save() #24

Closed niroigen closed 5 years ago

niroigen commented 5 years ago

This is good. Let's go ahead with your approach, let's include *args and **kwargs. I can't remember what needs to be fixed, do you? Anyways, this won't prevent the merge

Originally posted by @driankus in https://github.com/driankus/v2go-web-app/pull/20

To fix this issue we would have to override the function from def save(self, *args)

to

def save(self, *args, **kwargs)