added support for python27 with django16