Fixes #219 Replaces deprecated tastypie method