basic rest with django 1.6