Django 1.5 compatibility fix
Merge pull request #20 from devlocal/master

Django 1.5 compatibility fix