Django 1.4+ support (PermissionDenied > HttpForbidden).