mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user