#37037: decorator_from_middleware() docs contain stale reference to Django 1.9
-------------------------------------+-------------------------------------
     Reporter:  EoinShaughs          |                    Owner:  (none)
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  6.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

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

Comment:

 I wouldn't call `process_request()`, etc. "standard hook methods" as your
 PR proposes because these method don't work unless you use
 `django.utils.deprecation.MiddlewareMixin`. There is still a section
 regarding [https://docs.djangoproject.com/en/dev/topics/http/middleware
 /#upgrading-pre-django-1-10-style-middleware upgrading pre-Django
 1.10-style middleware], so IMO, the version reference isn't stale.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37037#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 visit 
https://groups.google.com/d/msgid/django-updates/0107019d93d57d0a-1cf69c6a-3c1c-406c-9fd9-9139523b3605-000000%40eu-central-1.amazonses.com.

Reply via email to