added support for python27 with django16

Python27 & Django 1.6

I have successfully updated and make it compatible with python27 and django16.

hopes you will merge this pull request..


Thanks... :+1: