@transactional<EOL><INDENT>def create(self, params, args, data):<EOL><DEDENT>
ctx = self._create_context(params, args, data)<EOL>model = self._create_one(ctx)<EOL>self._save_one(model, ctx)<EOL>return self._return_saved_one(model, ctx)<EOL>
POST /resource/model_cls/
data

Create new resource