Fix py3 compat.
Allow for older djangos.
Fix py3 issue.
Fix lots of py3 issues and drop support for 2.6.