Fix some hard-coded references to a particular LogFrame.

Fix some monkey patches for Django 1.6 compatibility.