def process_response(self, request, response):
        if getattr(self, 'has_session', False):
            if getattr(request, 'user', None) and request.user.is_authenticated():
                user = '%s (id:%s)' % (request.user.username, request.user.pk)
            else:
                user = '(Anonymous)'
            self.logger.info('Session %s authenticated by %s', request.session.session_key, user)
            request.session.save = self._save
            self._save = None
            self.session = None
            self.has_session = False
dataset/ETHPy150Open dcramer/django-devserver/devserver/modules/request.py/SessionInfoModule.process_response/original