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

This commit is contained in:
Tom Christie 2017-03-09 16:50:00 +00:00 committed by GitHub
parent b884bdd391
commit 544b4b9948
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@ ______ _____ _____ _____ __
"""
__title__ = 'Django REST framework'
__version__ = '3.6.0'
__version__ = '3.6.1'
__author__ = 'Tom Christie'
__license__ = 'BSD 2-Clause'
__copyright__ = 'Copyright 2011-2017 Tom Christie'

View File

@ -249,6 +249,7 @@ try:
return md.convert(text)
except ImportError:
apply_markdown = None
markdown = None
try: