Sure, request.is_local indicates if the request is local (though I think will give a false positive if the site is running behind a proxy server).
Anthony On Wednesday, January 11, 2012 11:44:05 AM UTC-5, seongjoo wrote: > > It would be great if there is a way to check whether request is originated > from local (127.0.0.1) and then set DAL's endpoint to local. > > Would it be possible, and if it is then, is it recommended to do so? >