Added support for Django up to 1.5, issue #30.