Hi,

We recently migrated from Django 1.8 to Django 1.11.7. We have an 
ecommerece site running on Django. When we are trying to access a page, 
following exception is occuring:

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/wsgiref/handlers.py", line 85, in run

    self.result = application(self.environ, self.start_response)

  File 
"/virenv/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", 
line 63, in __call__

    return self.application(environ, start_response)

  File "/virenv/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

    if self._reason_phrase is not None:

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


I am completely clueless why the above exception is occurring. I do not 
have any other data or logs for the above exception


Could anyone help me in providing a way to debug the above?


Thanks.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1089b578-3a8e-4eed-8ff2-becdc8bf3de9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to