Update the REST API course_team_handler to support library roles, fix bugs

This commit is contained in:
Braden MacDonald
2014-11-11 19:38:39 -08:00
committed by E. Kolpakov
parent ea03f6ed76
commit c477bab6f4
5 changed files with 112 additions and 94 deletions

View File

@@ -188,5 +188,6 @@ def library_blocks_view(library, user, response_format):
'context_library': library,
'component_templates': json.dumps(component_templates),
'xblock_info': xblock_info,
'templates': CONTAINER_TEMPATES
'templates': CONTAINER_TEMPATES,
'lib_users_url': reverse_library_url('manage_library_users', unicode(library.location.library_key)),
})