Skip to content

Commit

Permalink
(API) Supprime le support du format XML
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen authored and artragis committed Nov 12, 2022
1 parent 27c6d58 commit eb70ffd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ toml==0.10.2
django-cors-headers==3.13.0
django-filter==22.1
django-oauth-toolkit==1.7.0
djangorestframework-xml==2.0.0
djangorestframework==3.13.1
drf-extensions==0.7.1
dry-rest-permissions==0.1.10
Expand Down
4 changes: 0 additions & 4 deletions zds/settings/abstract_base/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,11 @@
),
"DEFAULT_PARSER_CLASSES": (
"rest_framework.parsers.JSONParser",
# 'rest_framework.parsers.XMLParser',
"rest_framework_xml.parsers.XMLParser",
"rest_framework.parsers.FormParser",
"rest_framework.parsers.MultiPartParser",
),
"DEFAULT_RENDERER_CLASSES": (
"rest_framework.renderers.JSONRenderer",
# 'rest_framework.renderers.XMLRenderer',
"rest_framework_xml.renderers.XMLRenderer",
"rest_framework.renderers.BrowsableAPIRenderer",
),
"DEFAULT_THROTTLE_CLASSES": (
Expand Down

0 comments on commit eb70ffd

Please sign in to comment.