Commit 544b4b99 by Tom Christie Committed by GitHub

Ensure 'markdown' dependancy is optional. Refs #4941. (#4947)

parent b884bdd3
...@@ -8,7 +8,7 @@ ______ _____ _____ _____ __ ...@@ -8,7 +8,7 @@ ______ _____ _____ _____ __
""" """
__title__ = 'Django REST framework' __title__ = 'Django REST framework'
__version__ = '3.6.0' __version__ = '3.6.1'
__author__ = 'Tom Christie' __author__ = 'Tom Christie'
__license__ = 'BSD 2-Clause' __license__ = 'BSD 2-Clause'
__copyright__ = 'Copyright 2011-2017 Tom Christie' __copyright__ = 'Copyright 2011-2017 Tom Christie'
......
...@@ -249,6 +249,7 @@ try: ...@@ -249,6 +249,7 @@ try:
return md.convert(text) return md.convert(text)
except ImportError: except ImportError:
apply_markdown = None apply_markdown = None
markdown = None
try: try:
......
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