add django 1.6 compatability
Merge pull request #8 from vint21h/master

add django 1.6 compatibility