Re: AttributeError: 'TemplateResponse' object has no attribute '_reason_phrase'

2017-11-24 Thread Web Architect
e-packages/django/core/handlers/wsgi.py", line >> 161, in __call__ >> >> status = '%d %s' % (response.status_code, response.reason_phrase) >> >> File "/virenv/lib/python2.7/site-packages/django/http/response.py", >> line 69, in reason_phrase &g

Re: AttributeError: 'TemplateResponse' object has no attribute '_reason_phrase'

2017-11-22 Thread Tim Graham
renv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line > 161, in __call__ > > status = '%d %s' % (response.status_code, response.reason_phrase) > > File "/virenv/lib/python2.7/site-packages/django/http/response.py", > line 69, in reason_phrase > >

Re: AttributeError: 'TemplateResponse' object has no attribute '_reason_phrase'

2017-11-22 Thread Jason
what is the code for the render call? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send

AttributeError: 'TemplateResponse' object has no attribute '_reason_phrase'

2017-11-22 Thread Web Architect
/handlers/wsgi.py", line 161, in __call__ status = '%d %s' % (response.status_code, response.reason_phrase) File "/virenv/lib/python2.7/site-packages/django/http/response.py", line 69, in reason_phrase if self._reason_phrase is not None: AttributeError: 'T