aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorTom Christie2014-12-03 23:24:06 +0000
committerTom Christie2014-12-03 23:24:06 +0000
commit3d6620c72a9cbaedecc37cc76e591a79409de305 (patch)
treeee3b2a12ee552daac3a49862ae2fc6e934975b34 /rest_framework/compat.py
parentcd4d8660211e7af3b06986b68a9281be0b8ffacf (diff)
parent731c8421afe3093a78cdabb9c3cc28fa52cd1c8e (diff)
downloaddjango-rest-framework-3d6620c72a9cbaedecc37cc76e591a79409de305.tar.bz2
Merge
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 06da3770..08dd9df6 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -237,13 +237,6 @@ except ImportError:
apply_markdown = None
-# Yaml is optional
-try:
- import yaml
-except ImportError:
- yaml = None
-
-
# `seperators` argument to `json.dumps()` differs between 2.x and 3.x
# See: http://bugs.python.org/issue22767
if six.PY3: