Permalink
Browse files

Update the docs to reflect get_item instead of items

  • Loading branch information...
Ryan Showalter
Ryan Showalter committed Sep 6, 2010
1 parent 12aba73 commit f1110de784b39f2eeb05ecbfd897bf4d423e9170
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -127,7 +127,7 @@ View the items included in a plan...
Set an item's quantity (if the item is attached to a customer):
- >>> item = customer.items[0]
+ >>> item = customer.get_item("The Item's Code")
>>> item.quantity = 5
>>> item.save()
>>>
@@ -137,4 +137,4 @@ Set an item's quantity (if the item is attached to a customer):
>>> item.quantity = 5
>>> item.save()
pycheddar.exceptions.ValidationError: Items may only have their quantity altered if they are directly attached to a customer.
-
+

0 comments on commit f1110de

Please sign in to comment.