fixed broken code for work with django-tastypie 0.11.1