Commit d09c8a20 by Paul Kastner

another tweak

parent 7ef22d63
...@@ -76,6 +76,7 @@ We can store a reference to another ParseObject by assigning it to an attribute: ...@@ -76,6 +76,7 @@ We can store a reference to another ParseObject by assigning it to an attribute:
>>> collectedItem.type = "Sword" >>> collectedItem.type = "Sword"
>>> collectedItem.isAwesome = True >>> collectedItem.isAwesome = True
>>> collectedItem.save() # we have to save it before it can be referenced >>> collectedItem.save() # we have to save it before it can be referenced
>>> gameScore.item = collectedItem >>> gameScore.item = collectedItem
~~~~~ ~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment