Will check that book out, thanks for the recommendation.

I got that I shouldn't duplicate the code, I just meant where would be the place to do that. Is it modifying the xmodule.py under the XModuleMixin class? If so then how does it account for having to change it in notes/views.py since that is not an xmodule? same goes with staticbook/views.py.