Write restful service to find all orphans

To help fix recent bugs re orphaned discussions and
to prototype a more restful json oriented api.
This commit is contained in:
Don Mitchell
2013-10-01 16:03:26 -04:00
parent 286ae9e73d
commit 6b9797522b
7 changed files with 285 additions and 2 deletions

View File

@@ -130,6 +130,8 @@ urlpatterns += patterns(
url(r'^login_post$', 'student.views.login_user', name='login_post'),
url(r'^logout$', 'student.views.logout_user', name='logout'),
url(r'^(?P<course_id>[^/]+)/orphan', 'contentstore.views.orphan', name='orphan')
)
# restful api