Monkeypatch django to support travis