account for http_referer not in request.meta