Skip to content

Commit

Permalink
Ensure 'markdown' dependancy is optional. Refs #4941. (#4947)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie authored Mar 9, 2017
1 parent b884bdd commit 544b4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions rest_framework/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def apply_markdown(text):
return md.convert(text)
except ImportError:
apply_markdown = None
markdown = None


try:
Expand Down

0 comments on commit 544b4b9

Please sign in to comment.