diff options
| author | Xavier Ordoquy | 2012-11-23 01:12:33 +0100 | 
|---|---|---|
| committer | Xavier Ordoquy | 2012-11-23 01:12:33 +0100 | 
| commit | e348ee92552aab51290dfe6b256ad03b8d62e6f9 (patch) | |
| tree | 05133c0020290b9f607869cfa7ded1bcb384413e /rest_framework/compat.py | |
| parent | b68263fb652172c5dd74bb7a1c99f0c1230d76bc (diff) | |
| download | django-rest-framework-e348ee92552aab51290dfe6b256ad03b8d62e6f9.tar.bz2 | |
52 tests passing. Refactored a few string / byte io.
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 8c7617c1..6ffada48 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -21,6 +21,8 @@ try:  except ImportError:      from six import StringIO +from six import BytesIO +  def get_concrete_model(model_cls):      try: | 
