Augment compatibility with django-tastypie.

Add a few properties to augment compatibility with django-tastypie.