Allow unsafe async and make more things async

This commit is contained in:
2022-10-12 07:22:22 +01:00
parent 5bf65e3c90
commit 22df27178b
8 changed files with 215 additions and 25 deletions

View File

@@ -16,6 +16,7 @@ logger = logging.getLogger(__name__)
class Callback(APIView):
parser_classes = [JSONParser]
# TODO: make async
@csrf_exempt
def post(self, request):
payload = request.body