porting mdid3 to django 1.6