Spaces:
Running
Running
luanpoppe
commited on
Commit
·
a561ff7
1
Parent(s):
095b5f1
feat: add print
Browse files- gerar_documento/views.py +1 -0
gerar_documento/views.py
CHANGED
@@ -28,6 +28,7 @@ class GerarDocumentoView(AsyncAPIView):
|
|
28 |
)
|
29 |
async def post(self, request):
|
30 |
print(f"\n\nDATA E HORA DA REQUISIÇÃO: {datetime.now()}")
|
|
|
31 |
serializer = GerarDocumentoSerializer(data=request.data)
|
32 |
if serializer.is_valid(raise_exception=True):
|
33 |
if not serializer.validated_data:
|
|
|
28 |
)
|
29 |
async def post(self, request):
|
30 |
print(f"\n\nDATA E HORA DA REQUISIÇÃO: {datetime.now()}")
|
31 |
+
print('request.data: ', request.data)
|
32 |
serializer = GerarDocumentoSerializer(data=request.data)
|
33 |
if serializer.is_valid(raise_exception=True):
|
34 |
if not serializer.validated_data:
|