Skip to content

Commit

Permalink
Fixed honza#335 - django snippet fix model save method
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirobaina committed Apr 8, 2014
1 parent 40f1db9 commit 0c4960a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/django.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ snippet model
def __unicode__(self):
${5}

def save(self, force_insert=False, force_update=False):
def save(self, *args, **kwargs):
${6}

@models.permalink
Expand Down

0 comments on commit 0c4960a

Please sign in to comment.