mirror of
https://github.com/django/django.git
synced 2025-07-05 10:19:20 +00:00
[full-history]
Refs #3428 -- Removed 'protocol=0' parameter git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
abc893adad
commit
bc57c16935
@ -208,7 +208,7 @@ def save_new_revision(sender, instance, signal, signal_name, *args, **kwargs):
|
|||||||
#print "Log: ",log.change_time
|
#print "Log: ",log.change_time
|
||||||
|
|
||||||
try:
|
try:
|
||||||
log.object = Pickle.dumps(old, protocol=0)
|
log.object = Pickle.dumps(old)
|
||||||
log.save()
|
log.save()
|
||||||
print "New change saved."
|
print "New change saved."
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user