Re: [Django] #36026: Document that View.setup() sets attributes such as request, args, kwargs (was: Add what .setup()` does to a view to the documentation)

5 views
Skip to first unread message

Django

unread,
Dec 18, 2024, 11:01:19 AM12/18/24
to django-...@googlegroups.com
#36026: Document that View.setup() sets attributes such as request, args, kwargs
--------------------------------------+------------------------------------
Reporter: Willem Van Onsem | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Generic views | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Sarah Boyce):

* 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

Comment:

I agree we could be clear in the docs here - would you like to prepare a
patch?
--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages