compatible with pygit2 0.21.0
drop support for Django <1.6