Browse Source

impl: adiciona parser de upload de arquivos na api

pull/3605/head
LeandroJatai 2 years ago
parent
commit
941945eeba
  1. 1
      sapl/settings.py

1
sapl/settings.py

@ -149,6 +149,7 @@ REST_FRAMEWORK = {
"UNICODE_JSON": False, "UNICODE_JSON": False,
"DEFAULT_PARSER_CLASSES": ( "DEFAULT_PARSER_CLASSES": (
"rest_framework.parsers.JSONParser", "rest_framework.parsers.JSONParser",
"rest_framework.parsers.MultiPartParser"
), ),
'DEFAULT_RENDERER_CLASSES': ( 'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.JSONRenderer',

Loading…
Cancel
Save