Commit f576f2ed authored by 八千流's avatar 八千流 Committed by 老广

[Bugfix]修复解析器顺序bug,csv解析器需在file解析器前 (#2734)

parent 21ac3eaf
......@@ -378,8 +378,8 @@ REST_FRAMEWORK = {
'rest_framework.parsers.JSONParser',
'rest_framework.parsers.FormParser',
'rest_framework.parsers.MultiPartParser',
'common.parsers.JMSCSVParser',
'rest_framework.parsers.FileUploadParser',
'common.parsers.JMSCSVParser'
),
'DEFAULT_AUTHENTICATION_CLASSES': (
# 'rest_framework.authentication.BasicAuthentication',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment