Harvard-University-iCommons/icommons_lti_tools — pull request #123 by bermudezjd (2014-09-03 17:14:50+00:00)
Title: Feature/split edit section tests into separate file

Pull request adds tests for the edit_section view method, while making some tweaks to the edit_section url and logic to simplify things a bit. The section id was introduced into the edit_section url as it is a necessary part of the call. As a result, some of the template/JS logic had to change a bit to dynamically determine urls when clicking on a section to edit.

A PEP-8 autoformat command was run on views.py, so while the diff shows a lot of changes, the area to concentrate on is the edit_section function - I apologize for the number of diffs.