[image: FTC rule finalized rule to protect from AI scams]
The Federal Trade Commission has approved a regulation prohibiting
impersonating a government age...
Saturday, September 22, 2012
Many-to-Many Relationships
In the video below I show one way to setup a many-to-many relationship in the datastore: between Posts and Tags.
Labels:
lecture
Subscribe to:
Post Comments (Atom)
For the reallyDelete(self) method at the end of the video, I believe after "post.tags.remove(self.name)" you need to also add the line "post.put()" to save the changes to the datastore.
ReplyDeleteYes, you are correct. Nothing changes on the datastore until you do the .pu(), which is an Atomic action. Thanks!
ReplyDelete