Added integration with django 1.6