Commit e8ec81f5 by Xavier Ordoquy

Fixed #1624 (thanks @abraithwaite)

parent a3e75e4c
......@@ -51,6 +51,7 @@ except ImportError:
# guardian is optional
try:
import guardian
import guardian.shortcuts # Fixes #1624
except ImportError:
guardian = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment