Don't force internal IP on logging.

This commit is contained in:
Samuel Clay 2009-07-25 04:16:48 +00:00
parent 5ff436d4f4
commit fdecb844b6

View file

@ -244,8 +244,7 @@ class LoggingMiddleware(object):
def process_response(self, request, response):
if logging_output_enabled and \
# request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and \
not getattr(response, SUPPRESS_OUTPUT_ATTR, False):
not getattr(response, SUPPRESS_OUTPUT_ATTR, False):
if intercept_redirects and \
response.status_code in _redirect_statuses and \