Added support for Django up to 1.6, issue #33.