Fixed #1624 (thanks @abraithwaite)

This commit is contained in:
Xavier Ordoquy 2014-06-08 09:03:21 +02:00
parent a3e75e4c6c
commit e8ec81f5e9

View File

@ -51,6 +51,7 @@ except ImportError:
# guardian is optional
try:
import guardian
import guardian.shortcuts # Fixes #1624
except ImportError:
guardian = None