Django 1.7 support

Initial support for django 1.7. Fixes #134
Missing parentheses here, it breaks on python3