Re: [Django] #36026: Document that View.setup() sets attributes such as request, args, kwargs

13 views
Skip to first unread message

Django

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

* has_patch: 0 => 1
* owner: (none) => Chaitanya Rahalkar
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 19, 2024, 3:09:41 PM12/19/24
to django-...@googlegroups.com
#36026: Document that View.setup() sets attributes such as request, args, kwargs
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Owner: Chaitanya
Type: | Rahalkar
Cleanup/optimization | Status: assigned
Component: Generic views | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Chaitanya Rahalkar):

Added a PR for this - https://github.com/django/django/pull/18952

Let me know if the wording looks good! Thank you.
--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:4>

Django

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

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:5>

Django

unread,
Dec 31, 2024, 2:54:17 PM12/31/24
to django-...@googlegroups.com
#36026: Document that View.setup() sets attributes such as request, args, kwargs
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Owner: Chaitanya
Type: | Rahalkar
Cleanup/optimization | Status: assigned
Component: Generic views | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:6>

Django

unread,
Jan 2, 2025, 5:34:34 AM1/2/25
to django-...@googlegroups.com
#36026: Document that View.setup() sets attributes such as request, args, kwargs
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Owner: Chaitanya
Type: | Rahalkar
Cleanup/optimization | Status: assigned
Component: Generic views | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:7>

Django

unread,
Jan 3, 2025, 3:18:41 AM1/3/25
to django-...@googlegroups.com
#36026: Document that View.setup() sets attributes such as request, args, kwargs
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Owner: Chaitanya
Type: | Rahalkar
Cleanup/optimization | Status: assigned
Component: Generic views | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:8>

Django

unread,
Jan 3, 2025, 8:11:34 AM1/3/25
to django-...@googlegroups.com
#36026: Document that View.setup() sets attributes such as request, args, kwargs
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Owner: Chaitanya
Type: | Rahalkar
Cleanup/optimization | Status: closed
Component: Generic views | Version: 5.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"d97cacc2aedf948f7c557d0231e3b410905678b2" d97cacc2]:
{{{#!CommitTicketReference repository=""
revision="d97cacc2aedf948f7c557d0231e3b410905678b2"
Fixed #36026 -- Clarified that View.setup() sets the request, args, kwargs
attributes.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36026#comment:9>
Reply all
Reply to author
Forward
0 new messages