Use a version of django-tastypie that is Django 1.4 and Python 3 compatible