#33172: Document CBV decoration for modifying upload handlers on the fly
--------------------------------------+------------------------------------
     Reporter:  Matthew Pava          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Keryn Knight):

 * stage:  Unreviewed => Accepted


Comment:

 Accepting on the basis that using CBVs is probably the most prevalent form
 these days, and I genuinely wouldn't know which bits of the CBV to
 decorate with what. I'd ''guess'' `method_decorator` would be necessary
 too.

 Some documentation indicating the correct path would not be amiss -- most
 of that section hasn't been touched since 2010 or earlier, predating CBVs.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33172#comment:2>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.052eed58fba276c591299c3be40eb0f6%40djangoproject.com.

Reply via email to