aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorTom Christie2014-12-03 23:08:42 +0000
committerTom Christie2014-12-03 23:08:42 +0000
commit9680329cb0648fbf559d6d935e4220d5b4d3b87c (patch)
tree45b8e34c802f57d28ded3c355f16ae4ebc0ffba0 /rest_framework/compat.py
parent3a5b3772fefc3c2f2c0899947cbc07bfe6e6b5d2 (diff)
parent7f9dc736728baf92a3198a7f90bd302fff240373 (diff)
downloaddjango-rest-framework-9680329cb0648fbf559d6d935e4220d5b4d3b87c.tar.bz2
Merge pull request #2160 from jpadilla/xml
Remove XML support from core
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index 5bd85e74..899dd2b4 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -244,13 +244,6 @@ except ImportError:
yaml = None
-# XML is optional
-try:
- import defusedxml.ElementTree as etree
-except ImportError:
- etree = None
-
-
# OAuth2 is optional
try:
# Note: The `oauth2` package actually provides oauth1.0a support. Urg.