Lun 1643

shouldn't `self.request` be `hasattr(self,'request')`