Make TastyPie work nicely with Django 1.7