new style api get call

This commit is contained in:
Kenneth Reitz
2011-02-21 13:12:50 -05:00
parent 78fc750a02
commit 109e51954c
+1 -1
View File
@@ -72,7 +72,7 @@ class GroupDiscoverCategory(SyncedList):
pass
def sync(self):
r = requests.get(API_URL + 'groups.json')
r = api.get('groups')
# for _group in json.loads(r.content)['groups']:
#
# group = models.Group()