Fix for Django 1.4
Merge pull request #2 from mattrobenolt/patch-1

Fix for Django 1.4