Fixed Travis test on Django 1.4.