Fix compatibility with Django 1.6
Merge pull request #6 from py-sos/master

Fix compatibility with Django 1.6