Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Property with leading underscore and independent database property name is not written to database #279
I wanted to have a read-only property that would be written to the database but set when setting another property.
When using this Node type the content property would be set by the user (through the setter) and the content_type derived in that process.
All went well except that the value for the content_type was not present in the node in the database.
But this does not:
I'm constructing the objects like this:
Using log statements i can see that the setter never gets called, causing the getter to return None all the time.