summaryrefslogtreecommitdiff
path: root/docs/api-usage.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r--docs/api-usage.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index 36981b3..2f75584 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -77,8 +77,8 @@ Examples:
# get the group with id == 2
group = gl.groups.get(2)
- for group in groups:
- print()
+ for project in group.projects.list():
+ print(project)
# create a new user
user_data = {'email': 'jen@foo.com', 'username': 'jen', 'name': 'Jen'}