Updated to work with Django 1.7.
Merge pull request #1 from wlonk/django-1.7-update

Updated to work with Django 1.7.