presnick/runestone — pull request #8 by nickdotreid (2014-01-19 16:36:23+00:00)
Title: Sections as Many2Many

I redid the logic linking Sections to Auth_Users because I could not figure out what is getting screwup up with the database migrations (web2py's DAL leaves quite a bit to be desired)

I removed the section field from Auth_User and moved section code into its own file.

Users are linked to sections by a secondary table. All logic for getting, setting and deleting models is included into the Sections model. The views simply include logic for controlling input.