#36026: Add what .setup()` does to a view to the documentation
-------------------------------------+-------------------------------------
     Reporter:  Willem Van Onsem     |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  Documentation
      Version:  5.1                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 A [https://stackoverflow.com/q/79291523/67579 question at StackOverflow]
 asks where it is documented that `self.kwargs` is set, and although it is
 mentioned for example in the [https://docs.djangoproject.com/en/5.1/topics
 /class-based-views/generic-display/#dynamic-filtering "Built-in class-
 based generic views"] section, it does not appear in the documentation of
 the [https://docs.djangoproject.com/en/5.1/ref/class-based-
 views/base/#django.views.generic.base.View.setup Base views] nor in the
 documentation for the `.setup(..)` method.

 Perhaps the documentation regarding base views should explain what setup
 is doing?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36026>
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/01070193da4ec8c2-c572360f-d780-4a60-b004-c1a39ff9a8c1-000000%40eu-central-1.amazonses.com.

Reply via email to