CMS urls cleanup for Django 1.11
- Remove usage of django.urls.patterns - Change urls tuples to lists - Make all string view names callables
This commit is contained in:
@@ -112,7 +112,7 @@ from openedx.core.djangolib.js_utils import (
|
||||
ManageLibraryUsersFactory(
|
||||
"${context_library.display_name_with_default | h}",
|
||||
${users | n, dump_js_escaped_json},
|
||||
"${reverse('contentstore.views.course_team_handler', kwargs={'course_key_string': library_key, 'email': '@@EMAIL@@'}) | n, js_escaped_string}",
|
||||
"${reverse('course_team_handler', kwargs={'course_key_string': library_key, 'email': '@@EMAIL@@'}) | n, js_escaped_string}",
|
||||
${request.user.id | n, dump_js_escaped_json},
|
||||
${allow_actions | n, dump_js_escaped_json}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user