Changes between Initial Version and Version 1 of Ticket #12685


Ignore:
Timestamp:
Jan 25, 2010, 8:29:25 AM (14 years ago)
Author:
Russell Keith-Magee
Comment:

Trac is not for asking how-to questions. If you want to know how to do something, ask on django-users.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12685

    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #12685 – Description

    initial v1  
    11Given a serialized trivial object, of the type models.Model, which does not override any functions, a deserialized object does not accept the force_insert keyword argument for its save function.
    2 
     2{{{
    33class XYZ(models.Model):
    44    xyz_creation_date = models.DateTimeField(verbose_name=_("Date Opened"),
     
    1616   
    1717    xyz_synced = models.BooleanField(default=False)
    18 
     18}}}
    1919If this model exists on two separate servers, and instances of this object are serialized, passed over the wire, and then deserialized, the save function on the receiving server cannot pass force_insert=True - doing so yields "save() got an unexpected keyword argument 'force_insert'".
    2020
Back to Top