diff options
| author | Tom Christie | 2011-12-21 00:52:41 +0000 |
|---|---|---|
| committer | Tom Christie | 2011-12-21 00:52:41 +0000 |
| commit | 6e6dc21376e781813e4faea7264d661c2e6d67f3 (patch) | |
| tree | f0e9fde640c486c4c3993fdb43c37a6f6f0f1bce | |
| parent | a3ddd9e4c945369d542e4559ad8b697bc6f5b9d3 (diff) | |
| download | django-rest-framework-6e6dc21376e781813e4faea7264d661c2e6d67f3.tar.bz2 | |
Fix version test.
| -rw-r--r-- | djangorestframework/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/compat.py b/djangorestframework/compat.py index ab0d80f3..e70b8730 100644 --- a/djangorestframework/compat.py +++ b/djangorestframework/compat.py @@ -412,7 +412,7 @@ try: extensions = ['headerid(level=2)'] safe_mode = False, - if markdown.version < (2, 1): + if markdown.version_info < (2, 1): output_format = markdown.DEFAULT_OUTPUT_FORMAT md = markdown.Markdown(extensions=markdown.load_extensions(extensions), |
