Exception handling for OperationalError replaced to DatabaseError
cache selection fixed for django 1.7+