Skip to content

Commit 0c4960a

Browse files
committed
Fixed honza#335 - django snippet fix model save method
1 parent 40f1db9 commit 0c4960a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: snippets/django.snippets

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ snippet model
8484
def __unicode__(self):
8585
${5}
8686

87-
def save(self, force_insert=False, force_update=False):
87+
def save(self, *args, **kwargs):
8888
${6}
8989

9090
@models.permalink

0 commit comments

Comments
 (0)