activates tastypie and sets fields