- adding kwargs in redirect function ```python def redirect(self, url. **kwargs): raise httpexceptions.HTTPFound(location=url, **kwargs) ```