#25964: AttributeError: 'HttpResponse' object has no attribute '_reason_phrase'
------------------------------+--------------------------------------
     Reporter:  Wtower        |                    Owner:  nobody
         Type:  Bug           |                   Status:  closed
    Component:  Core (Other)  |                  Version:  1.9
     Severity:  Normal        |               Resolution:  needsinfo
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Django 1.9 does have a
 
[https://github.com/django/django/blob/f1628f6be1b8113b5e53aea497b2f6c47180e83f/django/http/response.py#L54-L67
 reason_phrase] attribute. Maybe you are using some `HttpResponseBase`
 subclass that fails to call `super()` in `__init__()`. You'll need to do
 more such as providing a sample project that we can use to reproduce the
 error to prove Django is at fault.

--
Ticket URL: <https://code.djangoproject.com/ticket/25964#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.06d6be0ca51935cf277c8a5655b0d6e3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to