mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Ensure 'markdown' dependancy is optional. Refs #4941.
This commit is contained in:
parent
b884bdd391
commit
b7d187e346
|
@ -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'
|
||||
|
|
|
@ -249,6 +249,7 @@ try:
|
|||
return md.convert(text)
|
||||
except ImportError:
|
||||
apply_markdown = None
|
||||
markdown = None
|
||||
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user