What about using Django's 403 view (https://docs.djangoproject.com/en/1.5/topics/http/views/#http-forbidden-view)?