#21564: Generic base view http_method_not_allowed method references self.request
and should use locally scoped request
-------------------------------+------------------------------------
     Reporter:  adepue         |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Generic views  |                  Version:  1.6
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by timo):

 In addition, I was going to backport this to 1.6.X since it's a crashing
 issue. Could you add the following to docs/releases/1.6.1.txt as well?
 "Fixed a typo in
 :meth:`django.views.generic.base.View.http_method_not_allowed` that caused
 it to crash in some cases (#21564)." (feel free to amend as you see fit
 and to account for the request from bmispelon)?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21564#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.5e5e92354ac8d551564f5ecdaa77616f%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to