Correction for new tastypie version