0
good night. I am developing a customer registration API, and I would like it that every time a new client is registered, runs something, and I tested a code and it didn’t work. someone can help me?
```
from rest_framework.decorators import action
import requests
@action(methods=['post'], detail=True)
def update_status(self, request):
if(request.method == 'POST'):
## do something
```
what type of message type command was successfully registered in the database ?
– stack.cardoso