1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #8679: use full signature of Model.save() in docs and remove no-longer-used 'raw' argument

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
James Bennett
2008-08-31 08:55:08 +00:00
parent 5e26fceb83
commit 6ba55eee30
3 changed files with 9 additions and 40 deletions

View File

@@ -325,8 +325,8 @@ method::
class Entry(models.Model):
# ...
def save(self):
super(Entry, self).save()
def save(self, force_insert=False, force_update=False):
super(Entry, self).save(force_insert, force_update)
try:
ping_google()
except Exception: