Fixes issue #55: Porting API to djangorestframework >=2.0.0