Some bug fix to improve python3 compatibility

Yes. In django 1.5.
Is there any reason to use lower version of django?
And I've changed version of django in tox tests deps.