diff options
| author | Xavier Ordoquy | 2014-06-08 09:03:21 +0200 |
|---|---|---|
| committer | Xavier Ordoquy | 2014-06-08 09:03:21 +0200 |
| commit | e8ec81f5e985f9cc9f524f77ec23013be918b990 (patch) | |
| tree | 3a1fa8d74a80810207a46742eb9f5890ef959ee2 /rest_framework/compat.py | |
| parent | a3e75e4c6c2f5a1b6b3c7740138829bb88543679 (diff) | |
| download | django-rest-framework-e8ec81f5e985f9cc9f524f77ec23013be918b990.tar.bz2 | |
Fixed #1624 (thanks @abraithwaite)
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py index d155f554..fdf12448 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -51,6 +51,7 @@ except ImportError: # guardian is optional try: import guardian + import guardian.shortcuts # Fixes #1624 except ImportError: guardian = None |
