From 9b66ced7d4d39c29377faa31403f7c22fc3c753f Mon Sep 17 00:00:00 2001 From: Davide Setti Date: Thu, 20 Feb 2014 10:16:56 +0100 Subject: [PATCH] Two fixes in the README - a whitespace was missing in an import - the sorting method is `order`, not `sort` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eff4889..1f04a10 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Usage Retrieving entities from dandelion is easy, just instantiate a Datagem and iterate; pagination is implemented automatically for you, so don't worry and just get data. - >>> from dandelionimport Datagem + >>> from dandelion import Datagem >>> d = Datagem('datagem-slug') >>> for obj in d.objects[:10]: ... print obj['acheneID'] @@ -124,7 +124,7 @@ Available comparators are: ### Sort elements -Sorting is easy as everything else, with the `sort` method: +Sorting is easy as everything else, with the `order` method: >>> for obj in d.objects.select('acheneID').order('acheneID')[:5]: ... print obj['acheneID']