Posts

Showing posts from June, 2014

edx-platform - How to delete a comment thread in discussion

Right now, there is no UI for deleting a comment  thread in a course in Open EdX, you have to do it at the server side: 1. Get the comment thread ID by looking at the URL, for example: http://mydomain.com/courses/MYSCHOOL/Cu_001/201405/discussion/forum/i4x-MYSCHOOL_X_001-course-201405/threads/ 53b0eeec1240cdb524333331 2. Go the the server, access the mongodb cli, delete the comment by ID: edxapp@demo:~/edx-platform$ mongo MongoDB shell version: 2.4.10 connecting to: test Welcome to the MongoDB shell. For interactive help, type "help". For more comprehensive documentation, see         http://docs.mongodb.org/ Questions? Try the support group         http://groups.google.com/group/mongodb-user > use cs_comments_service_development switched to db cs_comments_service_development >  db.contents.remove({"_id": ObjectId("53b0eeec1240cdb524333331")}) P/S: I also updated this to the documentation of OpenEdX's comment service: htt

PyCon 2014 in Montreal

Image
PyCon 2014 in Montreal, Quebec, Canada, April 9th – April 13th. What a journey! For more pictures:  https://www.flickr.com/groups/2597886@N24/pool/