From 40a1bf36c2df89daa1634e81c0635c1a63831090 Mon Sep 17 00:00:00 2001 From: Nikolaos Pothitos Date: Wed, 19 Jun 2019 10:06:48 +0300 Subject: [PATCH] docs(api-usage): fix project group example Fixes #798 --- docs/api-usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-usage.rst b/docs/api-usage.rst index 36981b3bc..2f7558488 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'}