One more Travis config tweak.
Fix test failures on Django 1.2.
Fix test failures on Python 3.