Document that View.setup() sets attributes such as request, args, kwargs
A question at StackOverflow asks where it is documented that self.kwargs
is set, and although it is mentioned for example in the Built-in class-based generic views section, it does not appear in the documentation of the Base views nor in the documentation for the .setup(..)
method.
Perhaps the documentation regarding base views should explain what setup is doing?
Change History
(9)
Triage Stage: |
Unreviewed → Accepted
|
Component: |
Documentation → Generic views
|
Summary: |
Add what .setup()` does to a view to the documentation → Document that View.setup() sets attributes such as request, args, kwargs
|
Has patch: |
set
|
Owner: |
set to Chaitanya Rahalkar
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Seems reasonable, yes.