initial commit of 0.11 version
make compatible with Django 1.6