changed view to resolve travis-ci error of 'HTTP_REFERE' key error
changed view to resolve travis-ci error of 'HTTP_REFERE' key error