Update test to run under django 1.7

```python
if django.VERSION >= (1, 6):
```